Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordComboBoxFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

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

Returns

TSelf The same instance.

Examples

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