Class
WordComboBoxFluent
OfficeIMO.Word
The fluent methods of WordComboBox, 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
- WordComboBoxFluent
Methods
public static TSelf SelectedValue<TSelf>(TSelf wordComboBox, string? value) #Sets WordComboBox.SelectedValue: Gets or sets the currently selected value displayed by the combo box.
Type Parameters
- TSelf
Parameters
- wordComboBox TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComboBox.SelectedValue = value; wordComboBox.SelectedValue(value);public static TSelf Tag<TSelf>(TSelf wordComboBox, string? value) #Sets WordComboBox.Tag: Gets or sets the tag value for this combo box control.
Type Parameters
- TSelf
Parameters
- wordComboBox TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComboBox.Tag = value; wordComboBox.Tag(value);