Xceed DataGrid for WPF v7.2 Documentation
CheckBox Class
Members 


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace : CheckBox Class
Represents a control used to edit and display boolean values. This class should be used rather than the system provided CheckBox control which causes issues with focus when used within a focus scope (e.g., DataGridControl).
Syntax
'Declaration
 
<TemplatePartAttribute(Name="PART_ChildCheckBox", Type=System.Windows.Controls.CheckBox)>

<DefaultPropertyAttribute("Content")>

<ContentPropertyAttribute("Content")>

<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>

<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>

<XmlLangPropertyAttribute("Language")>

<UsableDuringInitializationAttribute(True)>

<RuntimeNamePropertyAttribute("Name")>

<UidPropertyAttribute("Uid")>

<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>

<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>

Public Class CheckBox 

   Inherits System.Windows.Controls.ContentControl
'Usage
 
Dim instance As CheckBox
[TemplatePart(Name="PART_ChildCheckBox", Type=System.Windows.Controls.CheckBox)]

[DefaultProperty("Content")]

[ContentProperty("Content")]

[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]

[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]

[XmlLangProperty("Language")]

[UsableDuringInitialization(true)]

[RuntimeNameProperty("Name")]

[UidProperty("Uid")]

[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]

[NameScopeProperty("NameScope", System.Windows.NameScope)]

public class CheckBox : System.Windows.Controls.ContentControl 
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        Xceed.Wpf.Controls.CheckBox

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CheckBox Members
Xceed.Wpf.Controls Namespace