GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / BackColor Property
Example





In This Topic
BackColor Property (GdViewer)
In This Topic
Gets or sets the background color for the control.
Syntax
'Declaration
 
Public Overrides NotOverridable Property BackColor As Color
public override Color BackColor {get; set;}
public read-write property BackColor: Color; override; 
public override function get,set BackColor : Color
public: __property Color get_BackColor() override;
public: __property void set_BackColor( 
   Color value
) override;
public:
property Color BackColor {
   Color get() override;
   void set (    Color value) override;
}

Property Value

A System.Drawing.Color that represents the background color of the control. The default is the value of the System.Windows.Forms.Control.DefaultBackColor property.
Example
How to change the background color of the GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.BackColor = GdViewer1.ARGB(245, 245, 220)
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.BackColor = GdViewer1.ARGB(245, 245, 220);
See Also