Share via


SplitButton.MainButtonCommand Property

Gets or sets the main button command.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim instance As SplitButton
Dim value As ICommand

value = instance.MainButtonCommand

instance.MainButtonCommand = value

Syntax

'Declaration
Public Property MainButtonCommand As ICommand
public ICommand MainButtonCommand { get; set; }
public:
property ICommand^ MainButtonCommand {
    ICommand^ get ();
    void set (ICommand^ value);
}
/** @property */
public ICommand get_MainButtonCommand ()

/** @property */
public void set_MainButtonCommand (ICommand value)
public function get MainButtonCommand () : ICommand

public function set MainButtonCommand (value : ICommand)

Property Value

Type:ICommand.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

SplitButton Class
SplitButton Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.