コード例 #1
0
 /// <summary>
 /// Sets a Row Definition on the given ControlBase element.  This is later used by the StackPanel to determine
 /// how to define the properties of the row that the control will reside in if it is docked
 /// </summary>
 /// <param name="element"></param>
 /// <param name="value"></param>
 public static void SetRowDefinition(ControlBase element, RowDefinition value)
 {
     element.SetValue(RowDefinitionProperty, value);
 }
コード例 #2
0
 /// <summary>
 /// Sets a Column Definition on the given ControlBase element.  This is later used by the StackPanel to determine
 /// how to define the properties of the column that the control will reside in if it is docked
 /// </summary>
 /// <param name="element"></param>
 /// <param name="value"></param>
 public static void SetColumnDefinition(ControlBase element, ColumnDefinition value)
 {
     element.SetValue(ColumnDefinitionProperty, value);
 }