Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordDropDownListFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

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 required
The instance.
value string? required
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 required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordDropDownList.Tag = value;    wordDropDownList.Tag(value);