コード例 #1
0
 /// <summary>
 /// Gets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.Margin"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to get the margin.
 /// </param>
 /// <remarks>
 /// The specified margin is considered for column sizing calculation only.
 /// </remarks>
 public static Thickness GetMargin(GridColumnBase column)
 {
     return((Thickness)column.GetValue(MarginProperty));
 }
コード例 #2
0
 /// <summary>
 /// Gets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontFamily"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to get the font family.
 /// </param>
 /// <remarks>
 /// The specified font family is considered for column sizing calculation only.
 /// </remarks>
 public static FontFamily GetFontFamily(GridColumnBase column)
 {
     return((FontFamily)column.GetValue(FontFamilyProperty));
 }
コード例 #3
0
 /// <summary>
 /// Gets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontStretch"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to get the font stretch.
 /// </param>
 /// <remarks>
 /// The specified font stretch is considered for column sizing calculation only.
 /// </remarks>
 public static FontStretch GetFontStretch(GridColumnBase column)
 {
     return((FontStretch)column.GetValue(FontStretchProperty));
 }
コード例 #4
0
 /// <summary>
 /// Gets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontWeight"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to get the font weight.
 /// </param>
 /// <remarks>
 /// The specified font weight is considered for column sizing calculation only.
 /// </remarks>
 public static FontWeight GetFontWeight(GridColumnBase column)
 {
     return((FontWeight)column.GetValue(FontWeightProperty));
 }
コード例 #5
0
 /// <summary>
 /// Gets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontSize"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to get the font size.
 /// </param>
 /// <remarks>
 /// The specified font size is considered for column sizing calculation only.
 /// </remarks>
 public static double GetFontSize(GridColumnBase column)
 {
     return((double)column.GetValue(FontSizeProperty));
 }
コード例 #6
0
 /// <summary>
 /// Determines whether the keyboard interaction is enabled for the specified column.
 /// </summary>
 /// <param name="column">
 /// The column to determine whether the keyboard interaction is enabled.
 /// </param>
 /// <returns>
 /// Returns <b>true</b> if the keyboard interaction is enabled in the column; otherwise, <b>false</b>.
 /// </returns>
 public static bool GetWantsKeyInput(GridColumnBase column)
 {
     return((bool)column.GetValue(WantsKeyInputProperty));
 }