- 授权协议: MIT
- 开发语言: C#
- 操作系统: Windows
- 软件首页: https://github.com/Microsoft/XamlBehaviors/
软件介绍
XAML Behaviors 是简单易用的 Windows UWP 常规可复用交互添加工具,支持本地和管理应用工具。
代码示例:
<Button> <Interactivity:Interaction.Behaviors> <Core:EventTriggerBehavior EventName="Click"> <Core:ChangePropertyAction PropertyName="Background"> <Core:ChangePropertyAction.Value> <SolidColorBrush Color="Red"/> </Core:ChangePropertyAction.Value> </Core:ChangePropertyAction> </Core:EventTriggerBehavior> </Interactivity:Interaction.Behaviors> </Button>
