public static void SetIsEnabled(UIElement obj, bool value) { ValidationHelper.NotNull(obj, "obj"); obj.SetValue(IsEnabledProperty, BooleanBoxingHelper.Box(value)); }
public static void SetPreventsOpen([NotNull] UIElement obj, bool value) { ValidationHelper.NotNull(obj, () => obj); obj.SetValue(PreventsOpenProperty, BooleanBoxingHelper.Box(value)); }
public static void SetIsApplicationBarHost(Decorator obj, bool value) { ValidationHelper.NotNull(obj, "obj"); obj.SetValue(IsApplicationBarHostProperty, BooleanBoxingHelper.Box(value)); }
public static void SetIsMainWindow([NotNull] System.Windows.Window obj, bool value) { ValidationHelper.NotNull(obj, "obj"); obj.SetValue(IsMainWindowProperty, BooleanBoxingHelper.Box(value)); }
private static void SetIsDefaultHorizontalPosition(Popup obj, bool value) { ValidationHelper.NotNull(obj, "obj"); obj.SetValue(IsDefaultHorizontalPositionPropertyKey, BooleanBoxingHelper.Box(value)); }
public static void SetIsOpen(Popup obj, bool value) { ValidationHelper.NotNull(obj, "obj"); obj.SetValue(IsOpenProperty, BooleanBoxingHelper.Box(value)); }
private static void SetIsDefaultHorizontalPosition(UIElement obj, bool value) { ValidationHelper.NotNull(obj, () => obj); obj.SetValue(IsDefaultHorizontalPositionPropertyKey, BooleanBoxingHelper.Box(value)); }