SegmentedItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an item in a Segmented control.
[Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")]
public class SegmentedItem : Microsoft.UI.Xaml.Controls.ListViewItem
[<Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")>]
type SegmentedItem = class
inherit ListViewItem
Public Class SegmentedItem
Inherits ListViewItem
- Inheritance
-
Microsoft.UI.Xaml.Controls.ListViewItemSegmentedItem
- Attributes
-
Microsoft.UI.Xaml.Markup.ContentPropertyAttribute
Constructors
| Name | Description |
|---|---|
| SegmentedItem() |
Creates a new instance of SegmentedItem. |
Fields
| Name | Description |
|---|---|
| IconProperty |
The backing Microsoft.UI.Xaml.DependencyProperty for the Icon property. |
Properties
| Name | Description |
|---|---|
| Icon |
Gets or sets the icon. |
Methods
| Name | Description |
|---|---|
| OnApplyTemplate() | Microsoft.UI.Xaml.Controls.ListViewItem.OnApplyTemplate |
| OnContentChanged(Object, Object) |
Handles changes to the Content property. |
| OnIconPropertyChanged(IconElement, IconElement) |
Handles changes to the Icon property. |