CompatibleFocus
StockSharp.Xaml.Charting.Common
帮助类, 提供特性来控制元素的焦点。 兼容 Silverlight 和 WPF 两种特性 。
方法
GetIsFocusable
public static bool GetIsFocusable(DependencyObject obj)
result = CompatibleFocus.GetIsFocusable(obj)
Gets the IsFocusableProperty
- obj
- 物为所取.
返回值: *% IsFocusableProperty+% 值
SetIsFocusable
public static void SetIsFocusable(DependencyObject obj, bool value)
CompatibleFocus.SetIsFocusable(obj, value)
Sets the IsFocusableProperty
- obj
- 物为所取.
- value
- The IsFocusableProperty value
字段
IsFocusableProperty
public static readonly DependencyProperty IsFocusableProperty
value = CompatibleFocus.IsFocusableProperty
定义 IsFocusable DependencyProperty 定义