コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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);
 }