Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BadgeDefaultProperties Members

Provides members that specify the appearance and behavior of the current Badge.

#Constructors

Name Description
BadgeDefaultProperties(BadgeProperties) Initializes a new instance of the BadgeDefaultProperties class and inherits its property values from the parent object.

#Properties

Name Description
ActualImage Gets the current image displayed by this badge.
ActualImageStretchMargins Returns the current stretch margins applied to this Badge‘s image.
ActualLocation Returns the current Badge alignment relative to its target element.
ActualOffset Returns the current Badge offset.
ActualPaintStyle Returns the paint style currently applied to this badge.
ActualText Returns the text currently displayed in this badge.
ActualTextMargin Returns margins currently applied to this Badge‘s text.
ActualTrimByParent Gets whether or not this badge will be trimmed if it goes beyond its target element’s parent.
AllowGlyphSkinning Gets or sets whether or not the glyph skinning feature is applied to this badge. This property is obsolete. Use the BadgeDefaultProperties.ImageOptions.AllowGlyphSkinning property instead.
AllowHtmDrawText Gets or sets whether or not this badge recognizes HTML tags in its text.
AllowImage Gets or sets whether or not this badge should display its image. This property is obsolete. Use the BadgeDefaultProperties.ImageOptions.AllowImage property instead.
CanHtmDrawText Returns whether or not this badge can recognize HTML tags in its caption string.
CanStretchImage Gets whether or not this Badge image can be stretched.
CanUseImage Gets whether or not an image, assigned to this Badge will be displayed.
Image Gets or sets an image, used by this Badge. This property is obsolete. Use the BadgeDefaultProperties.ImageOptions.Image property instead.
ImageOptions Provides access to settings that allow you to assign both raster and vector images to a badge.
ImageStretchMargins Gets or sets the image region that can be stretched. This property is obsolete. Use the BadgeDefaultProperties.ImageOptions.ImageStretchMargins property instead.
IsGlyphSkinningEnabled Gets whether or not this badge should colorize its glyph.
Location Gets or sets the relative position for this Badge.
Offset Gets or sets this badge’s offset from its relative position.
PaintStyle Gets or sets the paint style applied to this badge.
StretchImage Gets or sets whether or not this Badge should stretch its image to fit the text block. This property is obsolete. Use the BadgeDefaultProperties.ImageOptions.StretchImage property instead.
Text Gets or sets the text string, displayed by this Badge.
TextMargin Gets or sets margins for this Badge‘s text.
TrimByParent Gets or sets whether or not this Badge should be trimmed to match its target element’s parent.

#Methods
Show Inherited Hide Inherited

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
See Also