USDTab.CloseControlExecuted Method
Internal binding function used for XAML declarative actions.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Styles
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim instance As USDTab
Dim sender As Object
Dim e As ExecutedRoutedEventArgs
instance.CloseControlExecuted(sender, e)
Syntax
'Declaration
Public Sub CloseControlExecuted ( _
sender As Object, _
e As ExecutedRoutedEventArgs _
)
public void CloseControlExecuted (
Object sender,
ExecutedRoutedEventArgs e
)
public:
void CloseControlExecuted (
Object^ sender,
ExecutedRoutedEventArgs^ e
)
public void CloseControlExecuted (
Object sender,
ExecutedRoutedEventArgs e
)
public function CloseControlExecuted (
sender : Object,
e : ExecutedRoutedEventArgs
)
Parameters
- sender
Specifies the control that the action is for.
- e
Specifies the event arguments.
Remarks
The control bindings in your XAML should appear as follows:
<Control.CommandBindings>
<CommandBinding Command = “usd:ActionCommands.CloseControl”
CanExecute=”CloseControlCanExecute”
Executed=”CloseControlExecuted” />
</Control.CommandBindings>
A button that uses these bindings should be declared as follows:
<Button Command=”usd:ActionCommands.CloseControl” CommandParameter=”” />
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
Change History
See Also
Reference
USDTab Class
USDTab Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Styles Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.