/// <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> /// <param name="common">Reference to common settings.</param> public void PopulateFromBase(KryptonPaletteCommon common) { // Populate only the designated styles StateCommon.PopulateFromBase(common, PaletteState.Normal); StateDisabled.PopulateFromBase(common, PaletteState.Disabled); StateNormal.PopulateFromBase(common, PaletteState.Normal); StateHighlight.PopulateFromBase(common, PaletteState.Tracking); StateChecked.PopulateFromBase(common, PaletteState.CheckedNormal); }
/// <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 StateDisabled.PopulateFromBase(PaletteState.Disabled); StateNormal.PopulateFromBase(PaletteState.Normal); OverrideFocus.PopulateFromBase(PaletteState.FocusOverride); OverrideVisited.PopulateFromBase(PaletteState.LinkVisitedOverride); OverrideNotVisited.PopulateFromBase(PaletteState.LinkNotVisitedOverride); OverridePressed.PopulateFromBase(PaletteState.LinkPressedOverride); }
/// <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); }
/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { // Populate only the designated styles StateNormal.PopulateFromBase(PaletteState.Normal); StateDisabled.PopulateFromBase(PaletteState.Disabled); }
/// <summary> /// Populate values from the base palette. /// </summary> public void PopulateFromBase() { StateDisabled.PopulateFromBase(PaletteState.Disabled); StateNormal.PopulateFromBase(PaletteState.Normal); }