public static bool GetOnlyShowFocusVisualWhileDragging(RangeBase element) => (bool)element.GetValue(OnlyShowFocusVisualWhileDraggingProperty);
public static string GetToolTipFormat(RangeBase element) => (string)element.GetValue(ToolTipFormatProperty);
public static int GetMaxInt(RangeBase d) { return((int)d.GetValue(MaxIntProperty)); }