[]
The control used by the C1PropertyGrid to display the SelectedObject's methods.
[TemplatePart(Name = "ActionButton", Type = typeof(Button))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualState(Name = "Unfocused", GroupName = "FocusStates")]
public class MethodBox : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Name | Description |
---|---|
MethodBox() | Initializes a new instance of a MethodBox. |
Name | Description |
---|---|
DisabledCuesVisibilityProperty | Identifies the DisabledCuesVisibility dependency property. |
FocusCuesVisibilityProperty | Identifies the FocusCuesVisibility dependency property. |
IsFocusedProperty | Identifies the IsFocused dependency property. |
MethodAttributeProperty | Identifies the MethodAttribute dependency property. |
Name | Description |
---|---|
DisabledCuesVisibility | Gets or sets a value indicating whether the disabled visuals of the control are visible. |
FocusCuesVisibility | Gets or sets a value indicating whether the focus visuals of the control are visible. |
IsFocused | Returns true if the control has the focus. |
MethodAttribute | Gets or sets the method attribute used to configure the MethodBox. |
Name | Description |
---|---|
ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
ChangeVisualStateFocus(bool) | Updates the current visual state of the Focus visual state group to match the object's properties. |
OnApplyTemplate() | Builds the visual tree for the MethodBox control when a new template is applied. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
Name | Description |
---|---|
IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |
MethodAttributeChanged | Event raised when the MethodAttribute property has changed. |