officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-checkbox-1e3ec20c.md
Gets or sets the checkbox size mode.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
CheckBoxSizeMode SizeMode { get; set; }
Property SizeMode As CheckBoxSizeMode
| Type | Description |
|---|---|
| CheckBoxSizeMode |
One of the CheckBoxSizeMode enumeration values indicating the check box’s size mode.
|
Available values:
| Name | Description |
|---|---|
| Auto |
Automatically determined size. Equal to the default font size.
| | Exact |
The exact size specified by the CheckBox.Size property.
|
With the SizeMode property set to CheckBoxSizeMode.Exact, the check box size is determined by the CheckBox.Size property.
The check box size is defined by the current font size value if the SizeMode property is set to CheckBoxSizeMode.Auto.
The following code snippets (auto-collected from DevExpress Examples) contain references to the SizeMode 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-richedit-document-api/CS/RichEditAPISample/CodeExamples/FormFields.cs#L21
checkBox.State = CheckBoxState.Checked;
checkBox.SizeMode = CheckBoxSizeMode.Auto;
checkBox.HelpTextType = FormFieldTextType.Custom;
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/FormFieldsActions.cs#L19
checkBox.State = CheckBoxState.Checked;
checkBox.SizeMode = CheckBoxSizeMode.Auto;
checkBox.HelpTextType = FormFieldTextType.Custom;
word-document-api-examples/CS/CodeExamples/FormFieldsActions.cs#L27
checkBox.State = CheckBoxState.Checked;
checkBox.SizeMode = CheckBoxSizeMode.Auto;
checkBox.HelpTextType = FormFieldTextType.Custom;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/FormFields.vb#L19
checkBox.State = DevExpress.XtraRichEdit.API.Native.CheckBoxState.Checked
checkBox.SizeMode = DevExpress.XtraRichEdit.API.Native.CheckBoxSizeMode.Auto
checkBox.HelpTextType = DevExpress.XtraRichEdit.API.Native.FormFieldTextType.Custom
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/FormFieldsActions.vb#L16
checkBox.State = CheckBoxState.Checked
checkBox.SizeMode = CheckBoxSizeMode.Auto
checkBox.HelpTextType = FormFieldTextType.Custom
word-document-api-examples/VB/CodeExamples/FormFieldsActions.vb#L24
checkBox.State = DevExpress.XtraRichEdit.API.Native.CheckBoxState.Checked
checkBox.SizeMode = DevExpress.XtraRichEdit.API.Native.CheckBoxSizeMode.Auto
checkBox.HelpTextType = DevExpress.XtraRichEdit.API.Native.FormFieldTextType.Custom
See Also