public static Thickness GetRadGridViewBorderThickness([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(RadGridViewBorderThicknessProperty)));
 }
Ejemplo n.º 2
0
 public static double GetCornerRadiusValue([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <double> .Unbox(obj.GetValue(CornerRadiusValueProperty)));
 }
Ejemplo n.º 3
0
 public static Thickness GetArrowMargin([NotNull] System.Windows.Controls.ComboBox obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(ArrowMarginProperty)));
 }
Ejemplo n.º 4
0
 public static Thickness GetBoldPadding([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(BoldPaddingProperty)));
 }
Ejemplo n.º 5
0
 public static Thickness GetResizeBorderThickness([NotNull] Controls.Window obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(ResizeBorderThicknessProperty)));
 }
Ejemplo n.º 6
0
 public static Thickness GetSemiBoldThickness([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, () => obj);
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(SemiBoldThicknessProperty)));
 }
 public static Thickness GetSubmenuBorderThickness(System.Windows.Controls.Primitives.MenuBase obj)
 {
     ValidationHelper.NotNull(obj, () => obj);
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <Thickness> .Unbox(obj.GetValue(SubmenuBorderThicknessProperty)));
 }
Ejemplo n.º 8
0
 public static FontFamily GetMyFontFamily([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(new FontFamily(obj.GetValue(MyFontFamilyProperty).ToString()));
 }
Ejemplo n.º 9
0
 public static FontStretch GetMyFontStretch([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <FontStretch> .Unbox(obj.GetValue(MyFontStretchProperty)));
 }
Ejemplo n.º 10
0
 public static double GetRowHeadHeightt([NotNull] DependencyObject obj)
 {
     ValidationHelper.NotNull(obj, "obj");
     ThicknessUtil.EnsureNonNegative();
     return(BoxingHelper <double> .Unbox(obj.GetValue(RowHeadHeighttProperty)));
 }