Property | Type | Description | |
---|---|---|---|
GetLogicalKey | VirtualKey | ||
OnIsEnabledChanged | void | ||
OnIsReadOnlyChanged | void | ||
OnLoaded | void | ||
UpdateVisualState | void |
Method | Description | |
---|---|---|
AllowGotFocus ( |
Check if the control's GotFocus event should be handled.
|
|
AllowKeyDown ( |
Check if the control's KeyDown event should be handled.
|
|
AllowKeyUp ( |
Check if the control's KeyUp event should be handled.
|
|
AllowLostFocus ( |
Check if the control's LostFocus event should be handled.
|
|
AllowMouseEnter ( |
Check if the control's MouseEnter event should be handled.
|
|
AllowMouseLeave ( |
Check if the control's MouseLeave event should be handled.
|
|
AllowMouseLeftButtonDown ( |
Check if the control's MouseLeftButtonDown event should be handled.
|
|
AllowMouseLeftButtonUp ( |
Check if the control's MouseLeftButtonUp event should be handled.
|
|
InteractionHelper ( |
Initializes a new instance of the InteractionHelper class.
|
|
OnApplyTemplateBase ( ) : void |
Update the visual state of the control when its template is changed.
|
|
OnGotFocusBase ( ) : void |
Base implementation of the virtual GotFocus event handler.
|
|
OnLostFocusBase ( ) : void |
Base implementation of the virtual LostFocus event handler.
|
|
OnMouseEnterBase ( ) : void |
Base implementation of the virtual MouseEnter event handler.
|
|
OnMouseLeaveBase ( ) : void |
Base implementation of the virtual MouseLeave event handler.
|
|
OnMouseLeftButtonDownBase ( ) : void |
Base implementation of the virtual MouseLeftButtonDown event handler.
|
|
OnMouseLeftButtonUpBase ( ) : void |
Base implementation of the virtual MouseLeftButtonUp event handler.
|
|
UpdateVisualStateBase ( bool useTransitions ) : void |
Update the visual state of the control.
|
Method | Description | |
---|---|---|
GetLogicalKey ( FlowDirection flowDirection, VirtualKey originalKey ) : VirtualKey | ||
OnIsEnabledChanged ( object sender, |
Handle changes to the control's IsEnabled property.
|
|
OnIsReadOnlyChanged ( bool value ) : void | ||
OnLoaded ( object sender, |
Handle the control's Loaded event.
|
|
UpdateVisualState ( bool useTransitions ) : void |
Update the visual state of the control. UpdateVisualState works differently than the rest of the injected functionality. Most of the other events are overridden by the calling class which calls Allow, does what it wants, and then calls Base. UpdateVisualState is the opposite because a number of the methods in InteractionHelper need to trigger it in the calling class. We do this using the IUpdateVisualState internal interface. |
public AllowGotFocus ( |
||
e | Event arguments. | |
return | bool |
public AllowKeyDown ( |
||
e | Event arguments. | |
return | bool |
public AllowKeyUp ( |
||
e | Event arguments. | |
return | bool |
public AllowLostFocus ( |
||
e | Event arguments. | |
return | bool |
public AllowMouseEnter ( |
||
e | Event arguments. | |
return | bool |
public AllowMouseLeave ( |
||
e | Event arguments. | |
return | bool |
public AllowMouseLeftButtonDown ( |
||
e | Event arguments. | |
return | bool |
public AllowMouseLeftButtonUp ( |
||
e | Event arguments. | |
return | bool |
public InteractionHelper ( |
||
control | Control receiving interaction. | |
return | System |
public UpdateVisualStateBase ( bool useTransitions ) : void | ||
useTransitions | bool | /// A value indicating whether to automatically generate transitions to /// the new state, or instantly transition to the new state. /// |
return | void |