CustomPalette
ReferencesProvides a system-wide square grid of colours the user is allowed to specify.
Constructors
CustomPalette
#public CustomPalette()
Create a new custom palette, populated with the system-wise settings.
CustomPalette
#Create a custom palette.
Parameters:
| rows (int) | Number of rows. |
| columns (int) | Number of columns. |
| entries (IEnumerable<CustomPaletteEntry>) | Initial entries. |
Properties
Indexers
Methods
Draw
#Draw this palette into a rectangle.
Parameters:
| context (Context) | Graphics context. |
| bounds (RectangleF) | Bounds which contains the palette. |
EntryAt
#Gets the entry underneath the given point.
Parameters:
| point (PointF) | Point. |
| entryBounds (out RectangleF) | Gets the box for the found entry. |
Returns: Entry underneath point.
EntryAt
#Gets the entry underneath the given point.
Parameters:
| point (PointF) | Point. |
Returns: Entry underneath point.