|
123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
-
- namespace BPASmartClient.Academy.Themes
- {
- public static class RadioButtonHelper
- {
-
-
- public static bool GetExecuteState(DependencyObject obj)
- {
- return (bool)obj.GetValue(ExecuteStateProperty);
- }
-
- public static void SetExecuteState(DependencyObject obj, bool value)
- {
- obj.SetValue(ExecuteStateProperty, value);
- }
-
- /// <summary>
- /// 指令的执行状态。
- /// </summary>
- public static readonly DependencyProperty ExecuteStateProperty =
- DependencyProperty.RegisterAttached("ExecuteState", typeof(bool), typeof(RadioButtonHelper), new PropertyMetadata(false));
-
-
- }
- }
|