WPF和VSM - 国家?
问题描述:
我使用WPF中的VSM(Visual State Manager,来自WPF Toolkit),我试图找到一个国家列表。WPF和VSM - 国家?
基本上,我明白有一些“魔术”状态 - 就像MouseOver状态在控件被隐藏时自动应用,或者在聚焦时应用的聚焦状态。
有没有这些地方的清单?我确定有,我无法找到它。
答
看看Karen Corby在Parts & States Model with VisualStateManager上的最后一篇文章(见第4点)。她列出了在基础实施的控制Silverlight的两个“特殊”状态组:
我相信WPF保持这个组织命名约定使用Silverlight,其中VSM首次实现兼容性。
答
Here是另一个资源。
其中,Jeetu列出了每个组的状态组和状态......对于每个基本控制。为方便起见,我会在这里列出它们。
Button, GridViewColumnHeader, RepeatButton:
CommonStates: Normal, MouseOver, Pressed, Disabled
FocusStates: Unfocused, Focused
CheckBox, RadioButton:
CommonStates: Normal, MouseOver, Pressed, Disabled
CheckStates: Unchecked, Checked, Indeterminate
FocusStates: Unfocused, Focused
ListBoxItem:
CommonStates: Normal, MouseOver
SelectionStates: Unselected, Selected
FocusStates: Unfocused, Focused
ProgressBar:
CommonStates: Determinate, Indeterminate
FocusStates: Unfocused, Focused
TextBox, RichTextBox:
CommonStates: Normal, MouseOver, Disabled, ReadOnly
FocusStates: Unfocused, Focused
链接断开:( – Spidermain50 2016-03-29 18:17:51