Share via


RibbonTextBox.CommandParameter Property

Gets or sets a user defined data value to pass to the command.

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

Syntax

'Declaration
Public Property CommandParameter As Object
public Object CommandParameter { get; set; }
public:
virtual property Object^ CommandParameter {
    Object^ get () sealed;
    void set (Object^ value) sealed;
}
abstract CommandParameter : Object with get, set
override CommandParameter : Object with get, set
final function get CommandParameter () : Object
final function set CommandParameter (value : Object)

Property Value

Type: System.Object
A user defined data value to pass to the command. 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.

Implements

ICommandSource.CommandParameter

Dependency Property Information

Identifier field

CommandParameterProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonTextBox Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Commanding Overview