WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CheckableBorder

    Show / Hide Table of Contents

    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
    System.Object
    CheckableBorder
    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 Description
    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 Description
    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 Description
    System.Windows.RoutedEventHandler

    Unchecked

    Occurs when CheckableBorder is unchecked.

    Declaration
    public event RoutedEventHandler Unchecked
    Event Type
    Type Description
    System.Windows.RoutedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved