Click here to Skip to main content
15,885,278 members
Articles / Programming Languages / SQL

MBColorPicker User Control Using VB.NET 2008

Rate me:
Please Sign up or sign in to vote.
4.97/5 (11 votes)
8 Sep 2013CPOL2 min read 34.1K   2.7K   17  
A graphical interface to select a color from a set of various colors.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
MBColorPicker
</name>
</assembly>
<members>
<member name="M:MBColorPicker.MBColorPickerHelper.#ctor">
	<summary>
 Create New Instance Of MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.#ctor(MBColorPicker.MBColorPickerButton)">
	<summary>
 Create New Instance Of MBColorPicker.
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerHelper.SelectedColor">
	<summary>
 Get or Set the Selected Color For MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.Show(System.Windows.Forms.Control,System.Drawing.Point)">
	<summary>
 Show ColorPicker On Click Of MBColorPickerButton
 </summary>
	<param name="ParentControl">ParentControl As Control</param>
	<param name="_Location">Location As Point</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.OnDeactivate(System.EventArgs)">
	<summary>
 Handles When MBColorPicker Deactivate.
 </summary>
	<param name="e">e As System.EventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.OnLeave(System.EventArgs)">
	<summary>
 Handles Mouse Leave For MBColorPicker.
 </summary>
	<param name="e">ByVal e As System.EventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.#ctor">
	<summary>
 Create New Instance Of MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.InitializeComponent">
	<summary>
 Initialize all components for MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
	<summary>
 Handles Mouse Move For MBColorPicker.
 </summary>
	<param name="e">e As System.Windows.Forms.MouseEventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.OnMouseLeave(System.EventArgs)">
	<summary>
 Handles Mouse Leave For MBColorPicker.
 </summary>
	<param name="e">e As System.EventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.OnMouseClick(System.Windows.Forms.MouseEventArgs)">
	<summary>
 Handles Mouse Click For MBColorPicker.
 </summary>
	<param name="e">e As System.Windows.Forms.MouseEventArgs</param>
</member><member name="P:MBColorPicker.MBColorPickerHelper.MBColorPicker.SelectedColor">
	<summary>
 Get or Set Selected Color For MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.CreateColorMatrix">
	<summary>
 Create Color Matrix For MBColorPicker.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.OnSelectedColorChanged">
	<summary>
 Handles SelectedColor Change Event.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.OnPaint(System.Windows.Forms.PaintEventArgs)">
	<summary>
 Handles Paint For MBColorPicker.
 </summary>
	<param name="e">System.Windows.Forms.PaintEventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawBackground(System.Drawing.Graphics)">
	<summary>
 Draw Background For MBColorPicker.
 </summary>
	<param name="graphics">graphics As Graphics</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawBorder(System.Drawing.Graphics)">
	<summary>
 Draw Border For MBColorPicker.
 </summary>
	<param name="graphics">Graphics As Graphics</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawTexts(System.Drawing.Graphics,System.Drawing.Font)">
	<summary>
 Draw Text For MBColorPicker.
 </summary>
	<param name="graphics">Graphics As Graphics</param>
	<param name="font">Font As Font</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawColorBoxes(System.Drawing.Graphics)">
	<summary>
 Draw Color Boxes For MBColorPicker.
 </summary>
	<param name="graphics">Graphics As Graphics</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawColorBelt(System.Drawing.Graphics,System.Int16,System.Int16,System.Boolean)">
	<summary>
 Draw Color Belt For MBColorPicker.
 </summary>
	<param name="graphics">Graphics As Graphics</param>
	<param name="no">No As Int16</param>
	<param name="yOffSet">yOffSet As Int16</param>
	<param name="border">Border As Boolean</param>
	<remarks></remarks>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawColorBox(System.Drawing.Graphics,System.Drawing.Color,System.Drawing.Point,System.Boolean)">
	<summary>
 Draw Color Box For MBColorPicker.
 </summary>
	<param name="graphics">Graphics As Graphics</param>
	<param name="color">Color As Color</param>
	<param name="location">Location As Point</param>
	<param name="border">Border As Boolean</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawSelectedBox(System.Drawing.Graphics)">
	<summary>
 Draw Selected Box For MBColorPicker.
 </summary>
	<param name="graphics">graphics As Graphics</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawPalette(System.Drawing.Graphics)">
	<summary>
 Draw Color Palette For MBColorPicker.
 </summary>
	<param name="graphics">graphics As Graphics</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawGradientBack(System.Drawing.Graphics,System.Drawing.Rectangle,MBColorPicker.MBColorPickerHelper.MBColorPicker.GradientItemColor)">
	<summary>
 Draw Gradient Background for MBToolStrip/MBStatusStrip
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawGradientBorder(System.Drawing.Graphics,System.Drawing.Rectangle,MBColorPicker.MBColorPickerHelper.MBColorPicker.GradientItemColor)">
	<summary>
 Draw Gradient Border for MBToolStrip/MBStatusStrip
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.GetColor(System.Int16,System.Int16,System.Int16)">
	<summary>
 Return Color For MBColorPicker.
 </summary>
	<param name="red">Red As Int16</param>
	<param name="green">Green As Int16</param>
	<param name="blue">Blue As Int16</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.GetSelectedBox(System.Drawing.Point)">
	<summary>
 Return Selected Box For MBColorPicker.
 </summary>
	<param name="mouseLocation">MouseLocation As Point</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawBorderPath(System.Drawing.Rectangle,System.Drawing.Rectangle,System.Single)">
	<summary>
 Draw Border Path For MBColorPicker.
 </summary>
	<param name="rect">Rect As Rectangle</param>
	<param name="exclude">Exclude As Rectangle</param>
	<param name="cut">Cut As Single</param>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.DrawBorderPath(System.Drawing.Rectangle,System.Single)">
	<summary>
 Draw Border Path for MBToolStrip/MBStatusStrip
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerHelper.MBColorPicker.GradientItemColor.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">
	<summary>
 Constructor for GradientItemColor Class
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerHelper.MBColorPicker.GradientItemColor">
	<summary>
 GradientItemColor Class which Provides Gradient Colors
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerHelper.MBColorPicker">
	<summary>
 MBColorPicker Class © 2012 By Manoj Kishor Bhoir
 </summary>
	<remarks>Version 1.0.1096.2286</remarks>
</member><member name="T:MBColorPicker.MBColorPickerHelper">
	<summary>
 MBColorPickerHelper Class © 2012 By Manoj Kishor Bhoir
 </summary>
	<remarks>Version 1.0.1096.2286</remarks>
</member><member name="M:MBColorPicker.UseClipping.#ctor(System.Drawing.Graphics,System.Drawing.Drawing2D.GraphicsPath)">
	<summary>
 Constructor for UsingClipping Class
 </summary>
</member><member name="F:MBColorPicker.MBColorPickerButton.Components">
	<summary>
 Required by the Form Designer Variable
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.#ctor">
	<summary>
 Create New Object of MBColorPickerButton and Initialize it.
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.InitializeComponent">
	<summary>
 Initialize the MBColorPickerButton Components
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.Dispose(System.Boolean)">
	<summary>
 MBColorPickerButton Overrides Dispose to CleanUp component list
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnCreateControl">
	<summary>
 Create Base for MBColorPickerButton
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerButton.MB_SplitLocation">
	<summary>
 Enum to Set Split Location for MBGlasButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.SplitLocation">
	<summary>
 Get or Set the Location to Split Button into Two Parts
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.ImageSize">
	<summary>
 Get or Set the Image Size for MBColorPickerButton
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerButton.MB_ShowBase">
	<summary>
 Enum for Base Visibility
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.ShowBase">
	<summary>
 Get or Set Base Visibility for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.Radius">
	<summary>
 Get or Set Corner Radius for MBColorPickerButton
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerButton.MB_GroupPos">
	<summary>
 Enum for Group Position of MBColorPickerButton
 </summary>
</member><member name="F:MBColorPicker.MBColorPickerButton._grouppos">
	<summary>
 Get or Set Group Position for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.Arrow">
	<summary>
 Get or Set Arrow visibility of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.SplitButton">
	<summary>
 Get or Set Split Option for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.SplitDistance">
	<summary>
 Get or Set Split Distance for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.KeepPressed">
	<summary>
 Get or Set Button State of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.IsPressed">
	<summary>
 Get or Set State of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.MenuListPosition">
	<summary>
 Get ot Set DropDown Menu Position of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.BaseColor">
	<summary>
 Get or Set Base Color for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.OnColor">
	<summary>
 Get ot Set OnColor of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.PressColor">
	<summary>
 Get or Set Color when MBColorPickerButton is Pressed.
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.BaseStrokeColor">
	<summary>
 Get or Set Base Stroke for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.OnStrokeColor">
	<summary>
 Get or Set OnStroke Color for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.PressStrokeColor">
	<summary>
 Get or Set PressStroke Color of MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.MBColorPickerButton.PickedColor">
	<summary>
 Get or Set Picked Color of MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.GetColorIncreased(System.Drawing.Color,System.Int32,System.Int32,System.Int32)">
	<summary>
 Return Color with Increase Value
 </summary>
	<param name="color">The Value As System.Drawing.Color</param>
	<param name="h">Hue Value As Integer</param>
	<param name="s">Saturation Value As Integer</param>
	<param name="b">Brightness Value As Integer</param>
	<returns>Returns New Color</returns>
</member><member name="M:MBColorPicker.MBColorPickerButton.GetColor(System.Int32,System.Int32,System.Int32,System.Int32)">
	<summary>
 Returns New Color From ARGB Values
 </summary>
	<param name="A">Alpha value as Integer</param>
	<param name="R">Red value as integer</param>
	<param name="G">Green value as Integer</param>
	<param name="B">Blue value as Integer</param>
	<returns>New Color</returns>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnPaint(System.Windows.Forms.PaintEventArgs)">
	<summary>
 Handles MBColorPickerButton Paint
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnResize(System.EventArgs)">
	<summary>
 Handles MBColorPickerButton Resize
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.FillGradients(System.Drawing.Graphics,System.Drawing.Drawing2D.GraphicsPath)">
	<summary>
 Handles Glowing of MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.DrawImage(System.Drawing.Graphics)">
	<summary>
 Draw Image On MBColorPickerButton
 </summary>
	<param name="gr"></param>
	<remarks></remarks>
</member><member name="M:MBColorPicker.MBColorPickerButton.DrawArc(System.Drawing.Rectangle,System.Drawing.Drawing2D.GraphicsPath)">
	<summary>
 Draw arc for MBColorPickerButton
 </summary>
	<param name="re">R As Rectangle</param>
	<param name="pa">Path As Graphics Path</param>
</member><member name="M:MBColorPicker.MBColorPickerButton.DrawShadow(System.Drawing.Rectangle,System.Drawing.Drawing2D.GraphicsPath)">
	<summary>
 Draw Shadow for MBColorPickerButton
 </summary>
	<param name="re">R As Rectangle</param>
	<param name="pa">Path As Graphics Path</param>
</member><member name="M:MBColorPicker.MBColorPickerButton.DrawArrow(System.Drawing.Graphics)">
	<summary>
 Draw Arrow on MBColorPickerButton
 </summary>
	<param name="gr">graphics As Graphics</param>
	<remarks></remarks>
</member><member name="M:MBColorPicker.MBColorPickerButton.FillSplitPart(System.Drawing.Graphics)">
	<summary>
 Fill Splited Part Of MBColorPickerButton.
 </summary>
	<param name="g">Graphics As Graphics Object.</param>
</member><member name="M:MBColorPicker.MBColorPickerButton.DrawColorBar(System.Drawing.Graphics)">
	<summary>
 Draw Color Bar at Bottom Of MBColorPickerButton and Fill it With Selected Color
 </summary>
	<param name="g">Graphics As Graphics Object.</param>
	<remarks></remarks>
</member><member name="P:MBColorPicker.MBColorPickerButton.GlowingingSpeed">
	<summary>
 Get or Set Fading Speeed of MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.Timer1_Tick(System.Object,System.EventArgs)">
	<summary>
 Handles Timer Tick for MBColorPickerButton
 </summary>
	<param name="sender">sender As Object</param>
	<param name="e">e As EventArgs</param>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnMouseEnter(System.EventArgs)">
	<summary>
 Handles Mouse Enter for MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnMouseLeave(System.EventArgs)">
	<summary>
 Handles Mouse Leave for MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.UpdateMouseLeave">
	<summary>
 Handles Mouse Leave for MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
	<summary>
 Handles Mouse Down for MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
	<summary>
 Handles Mouse Up for MBColorPickerButton
 </summary>
</member><member name="M:MBColorPicker.MBColorPickerButton.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
	<summary>
 Handles Mouse Move for MBColorPickerButton
 </summary>
</member><member name="T:MBColorPicker.MBColorPickerButton">
	<summary>
 MBColorPickerButton Class © 2012 By Manoj Kishor Bhoir
 </summary>
	<remarks>Version 1.0.1096.2286</remarks>
</member><member name="M:MBColorPicker.MBColor.#ctor(System.Drawing.Color)">
	<summary>
 Constructor for MBColor
 </summary>
	<param name="color">Color Value</param>
</member><member name="M:MBColorPicker.MBColor.#ctor(System.UInt32,System.Int32,System.Int32,System.Int32)">
	<summary>
 Constructor for MBColor
 </summary>
	<param name="a">Aplph value</param>
	<param name="r">Red value</param>
	<param name="g">Green value</param>
	<param name="b">Blue value</param>
</member><member name="T:MBColorPicker.MBColor">
	<summary>
 MBColor Class for MBColorPickerButton
 </summary>
</member><member name="P:MBColorPicker.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:MBColorPicker.My.Resources.Resources.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:MBColorPicker.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
It always seems good to hear about me, but the thing I do is I code. I'm Interested in Designing Windows Based Application, Web Applications and building Mobile Applications. Currently restricting it to Android 4.0 applications, building Internet Based Applications using ASP.NET and contributing to bring the student community to a position which will help technology to reach the greatest heights ever. A very Big fan of Microsoft & Android..!!

Comments and Discussions