Esempio n. 1
0
 /// <summary>
 /// Sets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.Margin"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to set the margin.
 /// </param>
 /// <param name="value">
 /// The desired margin to set.
 /// </param>
 /// <remarks>
 /// The specified margin is considered for column sizing calculation only.
 /// </remarks>
 public static void SetMargin(GridColumnBase column, Thickness value)
 {
     column.SetValue(MarginProperty, value);
     column.hasMargin = true;
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontFamily"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to set the font family.
 /// </param>
 /// <param name="value">
 /// The desired font family to set.
 /// </param>
 /// <remarks>
 /// The specified font family is considered for column sizing calculation only.
 /// </remarks>
 public static void SetFontFamily(GridColumnBase column, FontFamily value)
 {
     column.SetValue(FontFamilyProperty, value);
     column.hasFontFamily = true;
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontStretch"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to set the font stretch.
 /// </param>
 /// <param name="value">
 /// The desired font stretch value.
 /// </param>
 /// <remarks>
 /// The specified font stretch is considered for column sizing calculation only.
 /// </remarks>
 public static void SetFontStretch(GridColumnBase column, FontStretch value)
 {
     column.SetValue(FontStretchProperty, value);
     column.hasFontStretch = true;
 }
Esempio n. 4
0
 /// <summary>
 /// Sets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontWeight"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to set the font weight.
 /// </param>
 /// <param name="value">
 /// The desired font weight.
 /// </param>
 /// <remarks>
 /// The specified font weight is considered for column sizing calculation only.
 /// </remarks>
 public static void SetFontWeight(GridColumnBase column, FontWeight value)
 {
     column.SetValue(FontWeightProperty, value);
     column.hasFontWeight = true;
 }
Esempio n. 5
0
 /// <summary>
 /// Sets the value of <see cref="Syncfusion.UI.Xaml.Grid.GridColumnSizer.FontSize"/> property for the specified column.
 /// </summary>
 /// <param name="column">
 /// The corresponding column to set the font size to its text content.
 /// </param>
 /// <param name="value">
 /// The desired font size.
 /// </param>
 /// <remarks>
 /// The specified font size is considered for column sizing calculation only.
 /// </remarks>
 public static void SetFontSize(GridColumnBase column, double value)
 {
     column.SetValue(FontSizeProperty, value);
     column.hasFontSize = true;
 }
 /// <summary>
 /// Provides the keyboard access to the UIElement loaded inside <b>CellTemplate</b> of Gridcolumn.
 /// </summary>
 /// <param name="column">
 /// The column which has CellTemplate to give keyboard access.
 /// </param>
 /// <param name="value">
 /// <b>true</b> if the keyboard interaction is enabled the UIElement for the specified column; otherwise, <b>false</b>.
 /// </param>
 /// <remarks>
 /// The keyboard interaction can be set when the column that has CellTemplate.
 /// </remarks>
 public static void SetWantsKeyInput(GridColumnBase column, bool value)
 {
     column.SetValue(WantsKeyInputProperty, value);
 }