Gets and sets whether the UserDraw event is raised for a Rectangle object during its paint when the Rectangle’s UserDraw property is true.
public bool UserDraw {get; set;}
public: __property bool get_UserDraw();
public: __property void set_UserDraw(
bool value
);
public:
property bool UserDraw {
bool get();
void set ( bool value);
}
Property Value
A boolean value which is
true to raise the UserDraw event. Otherwise,
false is used and the UserDraw event is not raised.