コード例 #1
0
 public static void SetRegistrationToken(StateTriggerBase trigger, long value)
 {
     trigger.SetValue(RegistrationTokenProperty, value);
 }
コード例 #2
0
 public static long GetRegistrationToken(StateTriggerBase trigger)
 {
     return((long)trigger.GetValue(RegistrationTokenProperty));
 }
コード例 #3
0
        void OnUncheckedStateIsActiveChanged(object sender, EventArgs e)
        {
            StateTriggerBase stateTrigger = sender as StateTriggerBase;

            Console.WriteLine($"Unchecked state active: {stateTrigger.IsActive}");
        }