ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral.GetRibbonContextTextAlign C# (CSharp) Method

GetRibbonContextTextAlign() public method

Gets the text alignment for the ribbon context text.
public GetRibbonContextTextAlign ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign
        public PaletteRelativeAlign GetRibbonContextTextAlign(PaletteState state)
        {
            if (ContextTextAlign != PaletteRelativeAlign.Inherit)
                return ContextTextAlign;
            else
                return _inherit.GetRibbonContextTextAlign(state);
        }