Class
WordDropDownListFluent
OfficeIMO.Word
The fluent methods of WordDropDownList, 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
- WordDropDownListFluent
Methods
public static TSelf SelectedValue<TSelf>(TSelf wordDropDownList, string? value) #Sets WordDropDownList.SelectedValue: Gets the selected item's internal value, or selects an item by display text or internal value.
Type Parameters
- TSelf
Parameters
- wordDropDownList TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordDropDownList.SelectedValue = value; wordDropDownList.SelectedValue(value);public static TSelf Tag<TSelf>(TSelf wordDropDownList, string? value) #Sets WordDropDownList.Tag: Gets or sets the tag value for this dropdown list control.
Type Parameters
- TSelf
Parameters
- wordDropDownList TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordDropDownList.Tag = value; wordDropDownList.Tag(value);