CompatibleFocus

StockSharp.Xaml.Charting.Common

A helper class which provides properties to control element's focus. Compatible with both Silverlight and WPF.

Methods

GetIsFocusable
public static bool GetIsFocusable(DependencyObject obj)
result = CompatibleFocus.GetIsFocusable(obj)

Gets the IsFocusableProperty

obj
The object.

Returns: IsFocusableProperty value

SetIsFocusable
public static void SetIsFocusable(DependencyObject obj, bool value)
CompatibleFocus.SetIsFocusable(obj, value)

Sets the IsFocusableProperty

obj
The object.
value
The IsFocusableProperty value

Fields

IsFocusableProperty
public static readonly DependencyProperty IsFocusableProperty
value = CompatibleFocus.IsFocusableProperty

Defines the IsFocusable DependencyProperty