Skip to main content

Chip Properties

A chip that allows users to trigger an action.
Name Description
ActualAppearance Gets the common appearance settings that are applied to the current Chip.
AnchorX Gets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnchorY Gets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
Background Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement.
BackgroundColor Gets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement.
Batched Gets a value that indicates there are batched changes done for this element. Inherited from VisualElement.
Behaviors Gets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
BorderColor Gets or sets the border color. This is a bindable property.
BorderThickness Gets or sets the border thickness. This is a bindable property.
Bounds Gets the bounds of the element in device-independent units. Inherited from VisualElement.
CheckIcon Gets or sets the icon that indicates the selection state. This is a bindable property.
CheckIconColor Gets or sets the color of the icon displayed when the chip is in the checked state. This is a bindable property.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
Clip Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement.
ContentTemplate Gets or sets a template that configures the appearance of the content (text) area. This is a bindable property.
CornerRadius Gets or sets the corner radius. This is a bindable property.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement.
DisabledBackgroundColor Gets or sets the background color in the disabled state. This is a bindable property.
DisabledBorderColor Gets or sets the border color in the disabled state. This is a bindable property.
DisabledCheckIconColor Gets or sets the check icon’s color in the disabled state. This is a bindable property.
DisabledIconColor Gets or sets the icon color in the disabled state. This is a bindable property.
DisabledRemoveIconColor Gets or sets the remove icon’s color when the chip is disabled. This is a bindable property.
DisabledTextColor Gets or sets the text color when the chip is disabled. This is a bindable property.
DisableLayout Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
DoubleTapCommand Gets or sets a command invoked when a user double-taps the chip.
DoubleTapCommandParameter Gets or sets a parameter passed to the DoubleTapCommand.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
FlowDirection Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement.
FontAttributes Gets or sets whether the font used to display text is bold, italic, or unmodified.
FontFamily Gets or sets the font face used to display text within the chip.
FontSize Gets or sets the size of the font used to display text in the chip.
Frame Gets or sets the frame this element resides in on screen. Inherited from VisualElement.
GestureRecognizers The collection of gesture recognizers associated with this view. Inherited from View.
Handler Gets or sets the IViewHandler associated to this element. Inherited from VisualElement.
Height Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement.
HeightRequest Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement.
HorizontalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Icon Gets or sets the icon displayed in the chip.
IconColor Gets or sets the color of the icon displayed in the chip.
IconIndent Gets or sets the indent between the icon and text.
IconSize Gets or sets the icon size.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
InputTransparent Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement.
IsCheckIconVisible Gets or sets whether the Check icon is visible when this chip is selected.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement.
IsFocused Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement.
IsIconVisible Gets or sets whether the icon is visible.
IsPlatformEnabled Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement.
IsRemoveIconVisible Gets or sets whether the icon that allows users to remove the chip is visible.
IsSelected Gets or sets whether the chip is checked (selected).
IsVisible Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
LongPressCommand Gets or sets a command executed when a user presses and holds the chip.
LongPressCommandParameter Gets or sets a parameter passed to the LongPressCommand.
Margin Gets or set the margin for the view. Inherited from View.
MinimumHeightRequest Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement.
MinimumWidthRequest Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement.
Opacity Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement.
Padding Gets or sets the amount of space around the chip.
Parent Gets or sets the parent Element of this element. Inherited from Element.
PressedBackgroundColor Gets or sets the background color when the chip is pressed.
PressedBorderColor Gets or sets the border color when the chip is pressed.
PressedCheckIconColor Gets or sets the Check icon color when the chip is pressed.
PressedIconColor Gets or sets the icon color when the chip is pressed.
PressedRemoveIconColor Gets or sets the Remove icon color when the chip is pressed.
PressedTextColor Gets or sets the text color when the chip is pressed.
RealParent For internal use by .NET MAUI. Inherited from Element.
RemoveIcon Gets or sets the icon that allows users to remove the chip.
RemoveIconClickedCommand Gets or sets a command executed when a user taps the Remove icon.
RemoveIconClickedCommandParameter Gets or sets a parameter passed to the RemoveIconClickedCommand.
RemoveIconColor Gets or sets the Remove icon color.
Resources Gets or sets the local resource dictionary. Inherited from VisualElement.
Rotation Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationX Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationY Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RoundedIcon Gets or sets whether the chip icons are rounded.
Scale Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement.
ScaleX Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement.
ScaleY Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement.
SelectedBackgroundColor Gets or sets the background color when the chip is selected.
SelectedBorderColor Gets or sets the border color when the chip is selected.
SelectedDisabledBackgroundColor Gets or sets the background color when the chip is selected and disabled.
SelectedDisabledBorderColor Gets or sets the border color when the chip is selected and disabled.
SelectedDisabledIconColor Gets or sets the icon color when the chip is selected and disabled.
SelectedDisabledRemoveIconColor Gets or sets the Remove icon color when the chip is selected and disabled.
SelectedDisabledTextColor Gets or sets the text color when the chip is selected and disabled.
SelectedIconColor Gets or sets the icon color when this chip is checked (selected).
SelectedRemoveIconColor Gets or sets the Remove icon color when the chip is selected.
SelectedTextColor Gets or sets the text color when the chip is selected.
SelectionChangedCommand Gets or sets a command executed when a user (un)selects this chip.
SelectionChangedCommandParameter Gets or sets a parameter passed to the SelectionChangedCommand.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
TapCommand Gets or sets a command invoked when a user taps this chip.
TapCommandParameter Gets or sets a parameter passed to the TapCommand. This is a bindable property.
Text Gets or sets the text displayed in the chip.
TextColor Gets or sets the text color.
TranslationX Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement.
TranslationY Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement.
Triggers Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
UseRippleEffect Gets or sets whether to use a ripple effect to change the selection state.
VerticalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Visual Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement.
Width Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement.
WidthRequest Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement.
X Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement.
Y Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement.
See Also