ComponentFactory.Krypton.Toolkit.PaletteContent.GetContentShortTextColorAlign C# (CSharp) Method

GetContentShortTextColorAlign() public method

Gets the color alignment style for the short text.
public GetContentShortTextColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public PaletteRectangleAlign GetContentShortTextColorAlign(PaletteState state)
        {
            if (ShortText.ColorAlign != PaletteRectangleAlign.Inherit)
                return ShortText.ColorAlign;
            else
                return _inherit.GetContentShortTextColorAlign(state);
        }