Copyright © 2003-2005 MultiMedia Soft 
Return to index  
 
Texture.Mode property 
 
Type
[Visual Basic] 
Overrides Public Property Mode As TextureModes 
 
[C#] 
public override TextureModes Mode {get; set;} 
 
[C++] 
public: __property TextureModes get_Mode(); 
public: __property void set_Mode(TextureModes);
 
 
Remarks
The mode used to display a texture, loaded into the Texture.Filepath property, over the button surface. 
Supported values are the following: 
Enumerated value
Value
Meaning
TextureModes.None
0
No texture displayed: this setting is useful when you want to hide the available texture without removing the current texture settings. 
TextureModes.WholeSurface
1 (default)
The texture covers completely the button surface. 
TextureModes.Outside
2
The texture is displayed only on the external part of the button surface when a special effect (see the SpecialEffect property) is applied. 
TextureModes.Inside
3
The texture is displayed only on the internal part of the button surface when a special effect (see the SpecialEffect property) is applied. 
 
 
See also
Texture property. 
TextureDesc class. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2003-2005 MultiMedia Soft 
Return to index