Share via


RibbonComboBox.SelectionBoxItemStringFormat Property

Gets a composite string that specifies how to format the selected item in the selection box if it is displayed as a string.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property SelectionBoxItemStringFormat As String
public string SelectionBoxItemStringFormat { get; private set; }
public:
property String^ SelectionBoxItemStringFormat {
    String^ get ();
    private: void set (String^ value);
}
member SelectionBoxItemStringFormat : string with get, private set
function get SelectionBoxItemStringFormat () : String
private function set SelectionBoxItemStringFormat (value : String)

Property Value

Type: System.String
A composite string that specifies how to format the selected item in the selection box if it is displayed as a string. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

SelectionBoxItemStringFormatProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonComboBox Class

Microsoft.Windows.Controls.Ribbon Namespace