Class CheckableBorder
This class represents extended System.Windows.Controls.Border control. It is control with internal purpose. It catches System.Windows.Controls.Primitives.ToggleButton.Checked and System.Windows.Controls.Primitives.ToggleButton.Unchecked routed events from System.Windows.Controls.Primitives.ToggleButton control in which it is contained.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class CheckableBorder : Border
Constructors
CheckableBorder()
Declaration
public CheckableBorder()
Fields
CheckedEvent
Checked event which is used for border checking. This event sets instance of its TemplateParent.
Declaration
public static readonly RoutedEvent CheckedEvent
Field Value
Type |
---|
System.Windows.RoutedEvent |
UncheckedEvent
Unchecked event which is used for border checking. This event sets instance of its TemplateParent.
Declaration
public static readonly RoutedEvent UncheckedEvent
Field Value
Type |
---|
System.Windows.RoutedEvent |
Methods
FireChecked()
Fires CheckedEvent routed event.
Declaration
protected void FireChecked()
FireUnchecked()
Fires UncheckedEvent routed event.
Declaration
protected void FireUnchecked()
OnInitialized(EventArgs)
This method initializes check/uncheck event.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The instance containing the event data. |
Events
Checked
Occurs when CheckableBorder is checked.
Declaration
public event RoutedEventHandler Checked
Event Type
Type |
---|
System.Windows.RoutedEventHandler |
Unchecked
Occurs when CheckableBorder is unchecked.
Declaration
public event RoutedEventHandler Unchecked
Event Type
Type |
---|
System.Windows.RoutedEventHandler |