In This Topic
A simple UserControl for setting the Alpha component of a Color,
using a NumericUpDown and a TrackBar to set the percentage.
Syntax
[Designer("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
internal class GoColorAlphaPanel : System.Windows.Forms.UserControl
See Also