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

GetContentDrawFocus() public method

Gets a value indicating if content should be drawn with focus indication.
public GetContentDrawFocus ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetContentDrawFocus(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentDrawFocus(state);
            else
                return base.GetContentDrawFocus(style, state);
        }