Static Public Member Functions | Static Public Attributes | List of all members
Behaviors Class Reference

Implementation of behavior functionality for WPF. More...

Static Public Member Functions

static void SetIsAllEventEffectsEnabled (this FrameworkElement element, bool isEventEffectEnabled)
 
static bool GetIsAllEventEffectsEnabled (this FrameworkElement element)
 
static void SetIsGazeAware (this FrameworkElement element, bool isGazeAware)
 Sets whether or not this FrameworkElement is gaze aware. More...
 
static bool GetIsGazeAware (this FrameworkElement element)
 Gets whether or not this FrameworkElement is gaze aware. More...
 
static void SetHasGaze (this FrameworkElement element, bool hasGaze)
 Sets whether or not this framework element has gaze. More...
 
static bool GetHasGaze (this FrameworkElement element)
 Gets whether or not this FrameworkElement has gaze. More...
 
static void SetHasGazeChangedCommand (this FrameworkElement element, ICommand hasGazeChangedCommand)
 Sets the has gaze changed ICommand associated with this FrameworkElement. More...
 
static ICommand GetHasGazeChangedCommand (this FrameworkElement element)
 Gets the has gaze changed ICommand. More...
 
static void AddHasGazeChangedHandler (this UIElement element, EventHandler< HasGazeChangedRoutedEventArgs > handler)
 Adds a EventHandler for the has gaze changed event. More...
 
static void RemoveHasGazeChangedHandler (this UIElement element, EventHandler< HasGazeChangedRoutedEventArgs > handler)
 Removes a EventHandler for the has gaze changed event. More...
 
static void SetIsOccluder (this FrameworkElement element, bool isOccluder)
 Sets whether or not this FrameworkElement is an occluder. More...
 
static bool GetIsOccluder (this FrameworkElement element)
 Gets whether or not this FrameworkElement is an occluder. More...
 

Static Public Attributes

static readonly DependencyProperty IsAllEventEffectsEnabledProperty
 Gets or sets if all interactor event effects are enabled for this element. More...
 
static readonly DependencyProperty IsGazeAwareProperty
 The gaze aware dependency property. More...
 
static readonly DependencyProperty HasGazeProperty
 The has gaze dependency property. More...
 
static readonly DependencyProperty HasGazeChangedCommandProperty
 The has gaze changed command dependency property. More...
 
static readonly RoutedEvent HasGazeChangedEvent
 Registers a RoutedEvent for the has gaze changed event. More...
 
static readonly DependencyProperty IsOccluderProperty
 The occluder dependency property. More...
 

Detailed Description

Implementation of behavior functionality for WPF.

Member Function Documentation

◆ SetIsAllEventEffectsEnabled()

static void SetIsAllEventEffectsEnabled ( this FrameworkElement  element,
bool  isEventEffectEnabled 
)
inlinestatic

◆ GetIsAllEventEffectsEnabled()

static bool GetIsAllEventEffectsEnabled ( this FrameworkElement  element)
inlinestatic

◆ SetIsGazeAware()

static void SetIsGazeAware ( this FrameworkElement  element,
bool  isGazeAware 
)
inlinestatic

Sets whether or not this FrameworkElement is gaze aware.

Parameters
elementThe framework element.
isGazeAwareIf set to true, this framework element is gaze aware.

◆ GetIsGazeAware()

static bool GetIsGazeAware ( this FrameworkElement  element)
inlinestatic

Gets whether or not this FrameworkElement is gaze aware.

Parameters
elementThe framework element.
Returns
Whether or not this framework element is gaze aware.

◆ SetHasGaze()

static void SetHasGaze ( this FrameworkElement  element,
bool  hasGaze 
)
inlinestatic

Sets whether or not this framework element has gaze.

Parameters
elementThe framework element.
hasGazeIf set to true, this framework element has gaze.

◆ GetHasGaze()

static bool GetHasGaze ( this FrameworkElement  element)
inlinestatic

Gets whether or not this FrameworkElement has gaze.

Parameters
elementThe framework element.
Returns
Whether or not this framework element has gaze.

◆ SetHasGazeChangedCommand()

static void SetHasGazeChangedCommand ( this FrameworkElement  element,
ICommand  hasGazeChangedCommand 
)
inlinestatic

Sets the has gaze changed ICommand associated with this FrameworkElement.

Parameters
elementThe framework element.
hasGazeChangedCommandThe has gaze changed command.

◆ GetHasGazeChangedCommand()

static ICommand GetHasGazeChangedCommand ( this FrameworkElement  element)
inlinestatic

Gets the has gaze changed ICommand.

Parameters
elementThe framework element.
Returns
The has gaze changed command.

◆ AddHasGazeChangedHandler()

static void AddHasGazeChangedHandler ( this UIElement  element,
EventHandler< HasGazeChangedRoutedEventArgs handler 
)
inlinestatic

Adds a EventHandler for the has gaze changed event.

Parameters
elementThe framework element.
handlerThe routed event handler to be added.

◆ RemoveHasGazeChangedHandler()

static void RemoveHasGazeChangedHandler ( this UIElement  element,
EventHandler< HasGazeChangedRoutedEventArgs handler 
)
inlinestatic

Removes a EventHandler for the has gaze changed event.

Parameters
elementThe framework element.
handlerThe routed event handler to be removed.

◆ SetIsOccluder()

static void SetIsOccluder ( this FrameworkElement  element,
bool  isOccluder 
)
inlinestatic

Sets whether or not this FrameworkElement is an occluder.

Parameters
elementThe framework element.
isOccluderIf set to true, this framework element is an occluder.

◆ GetIsOccluder()

static bool GetIsOccluder ( this FrameworkElement  element)
inlinestatic

Gets whether or not this FrameworkElement is an occluder.

Parameters
elementThe framework element.
Returns
Whether or not this framework element is an occluder.

Member Data Documentation

◆ IsAllEventEffectsEnabledProperty

readonly DependencyProperty IsAllEventEffectsEnabledProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
"IsAllEventEffectsEnabled",
typeof(bool),
typeof(Behaviors),
new FrameworkElementPropertyMetadata(true, OnIsEventEffectEnabledChanged))

Gets or sets if all interactor event effects are enabled for this element.

◆ IsGazeAwareProperty

readonly DependencyProperty IsGazeAwareProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
"IsGazeAware",
typeof(bool),
typeof(Behaviors),
new FrameworkElementPropertyMetadata(false, OnIsGazeAwareChanged))

The gaze aware dependency property.

◆ HasGazeProperty

readonly DependencyProperty HasGazeProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
"HasGaze",
typeof(bool),
typeof(Behaviors),
new FrameworkPropertyMetadata(false))

The has gaze dependency property.

◆ HasGazeChangedCommandProperty

readonly DependencyProperty HasGazeChangedCommandProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
"HasGazeChangedCommand",
typeof(ICommand),
typeof(Behaviors),
new AttachedCommandPropertyMetadata(OnHasGazeChangedCommandChanged))

The has gaze changed command dependency property.

◆ HasGazeChangedEvent

readonly RoutedEvent HasGazeChangedEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"HasGazeChanged",
RoutingStrategy.Bubble,
typeof(EventHandler<HasGazeChangedRoutedEventArgs>),
typeof(Behaviors))

Registers a RoutedEvent for the has gaze changed event.

◆ IsOccluderProperty

readonly DependencyProperty IsOccluderProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
"IsOccluder",
typeof (bool),
typeof (Behaviors),
new FrameworkElementPropertyMetadata(false, OnIsOccluderChanged))

The occluder dependency property.


The documentation for this class was generated from the following files: