GoDiagram Win Reference
GoColorControl Class
Members 

This control provides the basic functionality for letting a user pick a color from palettes of standard colors as well as custom colors, with optional alpha transparency.
Syntax
'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  
Remarks

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.

Inheritance Hierarchy

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

Requirements

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

See Also

Reference

GoColorControl Members
Northwoods.Go.Draw Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback