Back to Devexpress

TreeListOptionsPrint.PrintCheckBoxes Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsprint-fa691e5b.md

latest3.4 KB
Original Source

TreeListOptionsPrint.PrintCheckBoxes Property

Gets or sets whether to print node check boxes.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool PrintCheckBoxes { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property PrintCheckBoxes As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to print built-in check boxes; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PrintCheckBoxes
TreeList

.OptionsPrint .PrintCheckBoxes

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintCheckBoxes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.cs#L43

csharp
tree.OptionsPrint.AutoWidth = false;
    tree.OptionsPrint.PrintCheckBoxes = true;
}

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.vb#L47

vb
tree.OptionsPrint.AutoWidth = False
    tree.OptionsPrint.PrintCheckBoxes = True
End Sub

See Also

Node Checking - Checkboxes and Radio Buttons

TreeListOptionsPrint Class

TreeListOptionsPrint Members

DevExpress.XtraTreeList Namespace