private GetInherit ( PaletteState state ) : IPaletteMetric | ||
state | PaletteState | |
return | IPaletteMetric |
private IPaletteMetric GetInherit(PaletteState state)
{
switch (state)
{
case PaletteState.Disabled:
return _disabled;
case PaletteState.Normal:
return _normal;
default:
// Should never happen!
Debug.Assert(false);
return null;
}
}