[]
Toggle Button whose ExpandDirection property and states are used to change the appearance of the expand button of the C1Expander.
[TemplateVisualState(Name = "Up", GroupName = "DirectionStates")]
[TemplateVisualState(Name = "Down", GroupName = "DirectionStates")]
[TemplateVisualState(Name = "Left", GroupName = "DirectionStates")]
[TemplateVisualState(Name = "Right", GroupName = "DirectionStates")]
public class C1ExpanderButton : ToggleButton, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
Name | Description |
---|---|
C1ExpanderButton() | Initializes a new instance of a C1ExpanderButton. |
Name | Description |
---|---|
CornerRadiusProperty | Identifies the CornerRadius dependency property. |
DisabledBrushProperty | Identifies the DisabledBrush dependency property. |
ExpandDirectionProperty | Identifies the ExpandDirection dependency property. |
FocusBrushProperty | Identifies the FocusBrush dependency property. |
MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
PressedBrushProperty | Identifies the PressedBrush dependency property. |
Name | Description |
---|---|
CornerRadius | Gets or sets a value that represents the degree to which the corners of the element are rounded. |
DisabledBrush | Gets or sets the Brush used to highlight the control when is disabled. |
ExpandDirection | Gets or sets the direction the expander expands. |
FocusBrush | Gets or sets the Brush used to highlight the focused control. |
MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
Name | Description |
---|---|
ChangeVisualStateDirection(bool) | Updates the current visual state of the Direction visual state group to match the object's properties. |
OnApplyTemplate() | Builds the visual tree for the C1ExpanderButton control when a new template is applied. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |