Пример #1
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="state">The palette state to populate with.</param>
 public virtual void PopulateFromBase(PaletteState state)
 {
     _back.PopulateFromBase(state);
     _border.PopulateFromBase(state);
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="state">Palette state to use when populating.</param>
 public void PopulateFromBase(PaletteState state)
 {
     _back.PopulateFromBase(state);
     _border.PopulateFromBase(state);
     _content.PopulateFromBase(state);
 }
Пример #3
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 public void PopulateFromBase()
 {
     // Populate only the designated styles
     _stateDisabled.PopulateFromBase(PaletteState.Disabled);
     _stateNormal.PopulateFromBase(PaletteState.Normal);
 }