Class
WordCheckBoxFluent
OfficeIMO.Word
The fluent methods of WordCheckBox, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- WordCheckBoxFluent
Methods
public static TSelf Checked<TSelf>(TSelf wordCheckBox, bool value = true) #Sets WordCheckBox.IsChecked: Gets or sets whether the checkbox is checked.
Type Parameters
- TSelf
Parameters
- wordCheckBox TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordCheckBox.IsChecked = value; wordCheckBox.Checked(value);public static TSelf Tag<TSelf>(TSelf wordCheckBox, string? value) #Sets WordCheckBox.Tag: Gets or sets the tag value for this checkbox control.
Type Parameters
- TSelf
Parameters
- wordCheckBox TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordCheckBox.Tag = value; wordCheckBox.Tag(value);