Share via


RibbonGallery.PreviewCommandParameter Property

Gets or sets a user-defined data value to pass to the command when it is previewed.

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

Syntax

'Declaration
Public Property PreviewCommandParameter As Object
public Object PreviewCommandParameter { get; set; }
public:
virtual property Object^ PreviewCommandParameter {
    Object^ get () sealed;
    void set (Object^ value) sealed;
}
abstract PreviewCommandParameter : Object with get, set
override PreviewCommandParameter : Object with get, set
final function get PreviewCommandParameter () : Object
final function set PreviewCommandParameter (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

IPreviewCommandSource.PreviewCommandParameter

Dependency Property Information

Identifier field

PreviewCommandParameterProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonGallery Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Commanding Overview