NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichControl.AllowTransparency

Determines if the control should be allowed to have the opacity adjusted. This is primarily a performance optimization, in that you can always set the opacity to any value, and that will force AllowTransparency to true. However, setting the opacity to any given value will switch the control into layered mode. By setting the AllowTransparency property to false the control will actually switch out of layered mode, which provides better performance if you don't intend to adjust the opacity.

[Visual Basic]
Overridable Public Property AllowTransparency As Boolean
[C#]
public bool AllowTransparency {virtual get; virtual set;}
[C++]
public: __property virtual bool get_AllowTransparency();
public: __property virtual void set_AllowTransparency(bool);
[JScript]
public function get AllowTransparency() : Boolean;
public function set AllowTransparency(Boolean);

See Also

RichControl Class | RichControl Members | System.WinForms Namespace