public static void SetRegistrationToken(StateTriggerBase trigger, long value) { trigger.SetValue(RegistrationTokenProperty, value); }
public static long GetRegistrationToken(StateTriggerBase trigger) { return((long)trigger.GetValue(RegistrationTokenProperty)); }
void OnUncheckedStateIsActiveChanged(object sender, EventArgs e) { StateTriggerBase stateTrigger = sender as StateTriggerBase; Console.WriteLine($"Unchecked state active: {stateTrigger.IsActive}"); }