コード例 #1
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="state">Palette state to use when populating.</param>
 public void PopulateFromBase(PaletteState state)
 {
     _backRedirect.PopulateFromBase(state);
     _tickRedirect.PopulateFromBase(state);
     _trackRedirect.PopulateFromBase(state);
     _positionRedirect.PopulateFromBase(state);
 }
コード例 #2
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuInner;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuInner;
     _paletteControlInner.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuOuter;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuOuter;
     _paletteControlOuter.PopulateFromBase(state);
     common.StateCommon.BackStyle    = PaletteBackStyle.ContextMenuHeading;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ContextMenuHeading;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuHeading;
     _paletteHeading.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuItemImageColumn;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemImageColumn;
     _paletteItemImageColumn.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteSeparator.PopulateFromBase(state);
 }
コード例 #3
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="state">Palette state to use when populating.</param>
 public void PopulateFromBase(PaletteState state)
 {
     _comboBoxRedirect.PopulateFromBase(state);
     _itemRedirect.PopulateFromBase(state);
     _dropBackRedirect.PopulateFromBase(state);
 }