public static void SetMaxHeight(DependencyObject obj, double value) { obj.SetValue(MaxHeightProperty, value); }