GetImage() public method

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
return Image
Esempio n. 1
0
 /// <summary>
 /// Gets the content image.
 /// </summary>
 /// <param name="state">The state for which the image is needed.</param>
 /// <returns>Image value.</returns>
 public Image GetImage(PaletteState state)
 {
     if (KryptonCommand != null)
     {
         return(KryptonCommand.ImageSmall);
     }
     else
     {
         return(_buttonValues.GetImage(state));
     }
 }