public GetContentShortTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix | ||
style | PaletteContentStyle | Content style. |
state | PaletteState | Palette value should be applicable to this state. |
return | PaletteTextHotkeyPrefix |
public override PaletteTextHotkeyPrefix GetContentShortTextPrefix(PaletteContentStyle style, PaletteState state)
{
IPaletteTriple inherit = GetInherit(state);
if (inherit != null)
return inherit.PaletteContent.GetContentShortTextPrefix(state);
else
return Target.GetContentShortTextPrefix(style, state);
}