wx.GridCtrl.Extended.ColourSet3D Class Reference

Inheritance diagram for wx.GridCtrl.Extended.ColourSet3D:

wx.ICanBeMadeReadonly

List of all members.

Public Member Functions

object Clone ()
 ColourSet3D (ColourSet3D src)
 ColourSet3D ()
override bool Equals (object obj)
override int GetHashCode ()
object MakeReadOnly ()

Properties

wx.Colour BtnDarkShadow [get, set]
wx.Colour BtnFaceColour [get, set]
wx.Colour BtnHightlightColour [get, set]
wx.Colour BtnShadowColour [get, set]
wx.Colour BtnTextColour [get, set]
bool IsReadonly [get]
wx.Colour PrimarySelectionFaceColour [get, set]
wx.Colour PrimarySelectionTextColour [get, set]


Detailed Description

This is a colour set intended for renderers drawing a 3D button effect. Selected cells can for instance drawn sunken, unselected cells as raised buttons.

Constructor & Destructor Documentation

wx.GridCtrl.Extended.ColourSet3D.ColourSet3D (  ) 

A ctor setting the colours accourding to the system colours SystemColour.COLOUR_BTNFACE, SystemColour.COLOUR_BTNHIGHLIGHT, SystemColour.COLOUR_BTNSHADOW, SystemColour.COLOUR_3DDKSHADOW, and SystemColour.COLOUR_BTNTEXT.

wx.GridCtrl.Extended.ColourSet3D.ColourSet3D ( ColourSet3D  src  ) 

Creates a shallow copy of the argument assigning the colour instances contained by the source also to this. The new instance is guaranteed to be not readonly.

Parameters:
src The source of the copied data.


Member Function Documentation

object wx.GridCtrl.Extended.ColourSet3D.Clone (  ) 

Creates a shallow copy of this instance referring to the same instances of class wx.Colour that are contained by this instance.

Returns:

override bool wx.GridCtrl.Extended.ColourSet3D.Equals ( object  obj  ) 

override int wx.GridCtrl.Extended.ColourSet3D.GetHashCode (  ) 

object wx.GridCtrl.Extended.ColourSet3D.MakeReadOnly (  ) 

Makes this and all property instances of colours readonly.

Returns:

Implements wx.ICanBeMadeReadonly.


Property Documentation

wx.Colour wx.GridCtrl.Extended.ColourSet3D.BtnDarkShadow [get, set]

The colour that will be used for that part of the button's outline that is on the shadow side.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.BtnFaceColour [get, set]

The colour of the face of the 3D raised button.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.BtnHightlightColour [get, set]

The colour of the highlighted parts of the 3D button.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.BtnShadowColour [get, set]

The colour of the parts of the 3D buttons that are in shadow.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.BtnTextColour [get, set]

The text colour for the label of the button.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

bool wx.GridCtrl.Extended.ColourSet3D.IsReadonly [get]

Returns true if thsi is for reading only.

Implements wx.ICanBeMadeReadonly.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.PrimarySelectionFaceColour [get, set]

This colour will be used for the surface of a 3D button representing the cell that is the primary selection. The primary selection is the cell that will open its editor e.g. on pressing key F2. However, this colour will only be used in selection modes allowing also non-primary selections like row or column selection mode or the multi-selection modes.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.

wx.Colour wx.GridCtrl.Extended.ColourSet3D.PrimarySelectionTextColour [get, set]

This colour will be used for the text of a 3D button representing the cell that is the primary selection. The primary selection is the cell that will open its editor e.g. on pressing key F2. However, this colour will only be used in selection modes allowing also non-primary selections like row or column selection mode or the multi-selection modes.

Exceptions:
InvalidOperationException Will be thrown if using the setter in readonly mode.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads