C# Class Oglr.Core.CustomUITypeEditors.XnaColorUiTypeEditor

Class extending the ColorEditor which adds the capability to change the alpha value of the color. For use on a property of type: Microsoft.Xna.Framework.Graphics.Color.
Inheritance: System.Drawing.Design.ColorEditor
Datei anzeigen Open project: SteveDunn/oglr Class Usage Examples

Public Methods

Method Description
EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object

Edits the given value.

PaintValue ( System.Drawing.Design.PaintValueEventArgs e ) : void

Method Details

EditValue() public method

Edits the given value.
public EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object
context ITypeDescriptorContext Context infromation.
provider IServiceProvider Service provider.
value object Value to be edited.
return object

PaintValue() public method

public PaintValue ( System.Drawing.Design.PaintValueEventArgs e ) : void
e System.Drawing.Design.PaintValueEventArgs
return void