Click or drag to resize

PaletteContent Class

Implement storage for palette content details.
Inheritance Hierarchy

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class PaletteContent : Storage, 
	IPaletteContent

The PaletteContent type exposes the following members.

Constructors
 NameDescription
Public methodPaletteContent(IPaletteContent) Initialize a new instance of the PaletteContent class.
Public methodPaletteContent(IPaletteContent, NeedPaintHandler) Initialize a new instance of the PaletteContent class.
Top
Properties
 NameDescription
Public propertyAdjacentGap Gets the padding between adjacent content items.
Public propertyDraw Gets a value indicating if content should be drawn.
Public propertyDrawFocus Gets a value indicating if content should be drawn with focus indication.
Public propertyId Gets the unique identifier of the object.
(Inherited from GlobalId)
Public propertyImage Gets access to the image palette details.
Public propertyIsDefault Gets a value indicating if all values are default.
(Overrides StorageIsDefault)
Public propertyLongText Gets access to the long text palette details.
Public propertyNeedPaint Gets and sets the need paint delegate for notifying paint requests.
(Inherited from Storage)
Protected propertyNeedPaintDelegate Gets access to the need paint delegate.
(Inherited from Storage)
Public propertyPadding Gets the padding between the border and content drawing.
Public propertyShortText Gets access to the short text palette details.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetContentAdjacentGap Gets the actual padding between adjacent content items.
Public methodGetContentDraw Gets the actual content draw value.
Public methodGetContentDrawFocus Gets the actual content draw with focus value.
Public methodGetContentImageColorMap Gets the image color to remap into another color.
Public methodGetContentImageColorTo Gets the color to use in place of the image map color.
Public methodGetContentImageEffect Gets the actual image drawing effect value.
Public methodGetContentImageH Gets the actual content image horizontal alignment value.
Public methodGetContentImageV Gets the actual content image vertical alignment value.
Public methodGetContentLongTextColor1 Gets the first color for the long text.
Public methodGetContentLongTextColor2 Gets the second back color for the long text.
Public methodGetContentLongTextColorAlign Gets the color alignment style for the long text.
Public methodGetContentLongTextColorAngle Gets the color angle for the long text.
Public methodGetContentLongTextColorStyle Gets the color drawing style for the long text.
Public methodGetContentLongTextCompatiblePadding 
Public methodGetContentLongTextFont Gets the actual content long text font value.
Public methodGetContentLongTextH Gets the actual content long text horizontal alignment value.
Public methodGetContentLongTextHint Gets the actual text rendering hint for long text.
Public methodGetContentLongTextImage Gets an image for the long text.
Public methodGetContentLongTextImageAlign Gets the image alignment style for the long text.
Public methodGetContentLongTextImageStyle Gets the image style for the long text.
Public methodGetContentLongTextMultiLine Gets the flag indicating if multiline text is allowed for long text.
Public methodGetContentLongTextMultiLineH Gets the actual content long text horizontal multiline alignment value.
Public methodGetContentLongTextNewFont Gets the font for the long text by generating a new font instance.
Public methodGetContentLongTextPrefix Gets the prefix drawing setting for long text.
Public methodGetContentLongTextTrim Gets the actual text trimming for the long text.
Public methodGetContentLongTextV Gets the actual content long text vertical alignment value.
Public methodGetContentPadding Gets the actual padding between the border and content drawing.
Public methodGetContentShortTextColor1 Gets the first color for the short text.
Public methodGetContentShortTextColor2 Gets the second back color for the short text.
Public methodGetContentShortTextColorAlign Gets the color alignment style for the short text.
Public methodGetContentShortTextColorAngle Gets the color angle for the short text.
Public methodGetContentShortTextColorStyle Gets the color drawing style for the short text.
Public methodGetContentShortTextCompatiblePadding 
Public methodGetContentShortTextFont Gets the actual content short text font value.
Public methodGetContentShortTextH Gets the actual content short text horizontal alignment value.
Public methodGetContentShortTextHint Gets the actual text rendering hint for short text.
Public methodGetContentShortTextImage Gets an image for the short text.
Public methodGetContentShortTextImageAlign Gets the image alignment style for the short text.
Public methodGetContentShortTextImageStyle Gets the image style for the short text.
Public methodGetContentShortTextMultiLine Gets the flag indicating if multiline text is allowed for short text.
Public methodGetContentShortTextMultiLineH Gets the actual content short text horizontal multiline alignment value.
Public methodGetContentShortTextNewFont Gets the font for the short text by generating a new font instance.
Public methodGetContentShortTextPrefix Gets the prefix drawing setting for short text.
Public methodGetContentShortTextTrim Gets the actual text trimming for the short text.
Public methodGetContentShortTextV Gets the actual content short text vertical alignment value.
Public methodGetContentStyle Gets the style appropriate for this content.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnNeedPaint Raises the NeedPaint event.
(Inherited from Storage)
Protected methodOnPropertyChanged Raises the PropertyChanged event.
Public methodPerformNeedPaint Fires the NeedPaint event.
(Inherited from Storage)
Public methodPerformNeedPaint(Boolean) Fires the NeedPaint event.
(Inherited from Storage)
Public methodPopulateFromBase Populate values from the base palette.
Public methodResetAdjacentGap Reset the AdjacentGap to the default value.
Public methodResetPadding Reset the Padding to the default value.
Public methodSetInherit Sets the inheritence parent.
Public methodToString Returns a string that represents the current defaulted state.
(Inherited from Storage)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also