ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetContentShortTextPrefix C# (CSharp) Method

GetContentShortTextPrefix() public method

Gets the prefix drawing setting for short text.
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 base.GetContentShortTextPrefix(style, state);
        }