/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { // Populate only the designated styles StateNormal.PopulateFromBase(PaletteState.Normal); StateTracking.PopulateFromBase(PaletteState.Tracking); StateContextNormal.PopulateFromBase(PaletteState.ContextNormal); StateContextTracking.PopulateFromBase(PaletteState.ContextTracking); }
/// <summary> /// Populate values from the base palette. /// </summary> /// <param name="metric">Which metric should be used for padding.</param> public void PopulateFromBase(PaletteMetricPadding metric) { // Populate only the designated styles StateDisabled.PopulateFromBase(PaletteState.Disabled, metric); StateNormal.PopulateFromBase(PaletteState.Normal, metric); StateTracking.PopulateFromBase(PaletteState.Tracking, metric); StatePressed.PopulateFromBase(PaletteState.Pressed, metric); }
/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { // Populate only the designated styles OverrideFocus.PopulateFromBase(PaletteState.FocusOverride); StateDisabled.PopulateFromBase(PaletteState.Disabled); StateNormal.PopulateFromBase(PaletteState.Normal); StateTracking.PopulateFromBase(PaletteState.Tracking); StatePressed.PopulateFromBase(PaletteState.Pressed); }
/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { // Populate only the designated styles StateCheckedNormal.PopulateFromBase(PaletteState.CheckedNormal); StateContextCheckedNormal.PopulateFromBase(PaletteState.ContextCheckedNormal); StateTracking.PopulateFromBase(PaletteState.Tracking); StateContextPressed.PopulateFromBase(PaletteState.Pressed); StateContextTracking.PopulateFromBase(PaletteState.Tracking); }
/// <summary> /// Populate values from the base palette. /// </summary> /// <param name="common">Reference to common settings.</param> /// <param name="gridStyle">Grid style to use for populating.</param> public void PopulateFromBase(KryptonPaletteCommon common, GridStyle gridStyle) { // Populate only the designated styles StateDisabled.PopulateFromBase(common, PaletteState.Disabled, gridStyle); StateNormal.PopulateFromBase(common, PaletteState.Normal, gridStyle); StateTracking.PopulateFromBase(common, PaletteState.Tracking, gridStyle); StatePressed.PopulateFromBase(common, PaletteState.Pressed, gridStyle); StateSelected.PopulateFromBase(common, PaletteState.CheckedNormal, gridStyle); }
/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { // Populate only the designated styles StateNormal.PopulateFromBase(PaletteState.Normal); StateTracking.PopulateFromBase(PaletteState.Tracking); StateCheckedNormal.PopulateFromBase(PaletteState.CheckedNormal); StateCheckedTracking.PopulateFromBase(PaletteState.CheckedTracking); StateContextTracking.PopulateFromBase(PaletteState.ContextTracking); StateContextCheckedNormal.PopulateFromBase(PaletteState.ContextCheckedNormal); StateContextCheckedTracking.PopulateFromBase(PaletteState.ContextCheckedTracking); OverrideFocus.PopulateFromBase(PaletteState.FocusOverride); }