Northwoods.Go.Draw Assembly > Northwoods.Go.Draw Namespace : GoColorControl Class |
'Declaration <ToolboxItemAttribute(ToolboxItemType=System.Drawing.Design.ToolboxItem, ToolboxItemTypeName="System.Drawing.Design.ToolboxItem, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> Public Class GoColorControl Inherits GoPropertyUserControl Implements IGoPropertyControl
[ToolboxItemAttribute(ToolboxItemType=System.Drawing.Design.ToolboxItem, ToolboxItemTypeName="System.Drawing.Design.ToolboxItem, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public class GoColorControl : GoPropertyUserControl, IGoPropertyControl
A typical use of this control is to add it to a Form, assign the GoPropertyUserControl.View (a Northwoods.Go.GoView) so that this control knows which Northwoods.Go.GoSelection to consider, and assign the Property, PropertyPart, and PropertyChoice values so that this control knows which properties of which objects to modify.
This control can also be used without a GoPropertyUserControl.View or a GoPropertyUserControl.PropertyModifier, by setting the Color and OldColor properties, and by looking at the value of the Color property after a ColorChanged event.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Northwoods.Go.Draw.GoPropertyUserControl
Northwoods.Go.Draw.GoColorControl
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2