ClassControlBehavior
Class
Provides VisualStateManager base behavior for controls.
Definition
Namespace:ArtOfTest.WebAii.Design.UI.WPFToolkit
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class ControlBehavior : VisualStateBehavior
Inheritance: objectVisualStateBehaviorControlBehavior
Derived Classes:
Inherited Members
Constructors
ControlBehavior()
Declaration
cs-api-definition
public ControlBehavior()
Properties
TargetType
This behavior targets Control derived Controls.
Declaration
cs-api-definition
protected override Type TargetType { get; }
Property Value
Overrides
Methods
OnAttach(Control)
Attaches to property changes and events.
Declaration
cs-api-definition
protected override void OnAttach(Control control)
Parameters
control
An instance of the control.
Overrides
OnDetach(Control)
Detaches property changes and events.
Declaration
cs-api-definition
protected override void OnDetach(Control control)
Parameters
control
The control
Overrides
UpdateState(Control, bool)
Called to update the control's visual state.