/// <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); }
/// <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); }