GetRibbonTextColor() публичный Метод

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color
Пример #1
0
 /// <summary>
 /// Gets the tab color for the item text.
 /// </summary>
 /// <param name="state">Palette value should be applicable to this state.</param>
 /// <returns>Color value.</returns>
 public Color GetRibbonTextColor(PaletteState state)
 {
     if (TextColor != Color.Empty)
     {
         return(TextColor);
     }
     else
     {
         return(_inheritText.GetRibbonTextColor(state));
     }
 }