Language
Edit

SegmentedItem Class

Definition

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.ListViewItem
SegmentedItem
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.

Applies to