Show / Hide Table of Contents

Class ItemMetadata

Defines a class that wraps an item and adds metadata for it.

Inheritance
object
DispatcherObject
DependencyObject
ItemMetadata
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Equals(object)
DependencyObject.GetHashCode()
DependencyObject.GetLocalValueEnumerator()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.InvalidateProperty(DependencyProperty)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyPropertyKey, object)
DependencyObject.ShouldSerializeProperty(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DispatcherObject.Dispatcher
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ItemMetadata : DependencyObject

Constructors

View Source

ItemMetadata(object)

Initializes a new instance of ItemMetadata.

Declaration
public ItemMetadata(object item)
Parameters
Type Name Description
object item

The item to wrap.

Fields

View Source

IsActiveProperty

Value indicating whether the wrapped item is considered active.

Declaration
public static readonly DependencyProperty IsActiveProperty
Field Value
Type Description
DependencyProperty
View Source

NameProperty

The name of the wrapped item.

Declaration
public static readonly DependencyProperty NameProperty
Field Value
Type Description
DependencyProperty

Properties

View Source

IsActive

Gets or sets a value indicating whether the wrapped item is considered active.

Declaration
public bool IsActive { get; set; }
Property Value
Type Description
bool

true if the item should be considered active; otherwise false.

View Source

Item

Gets the wrapped item.

Declaration
public object Item { get; }
Property Value
Type Description
object

The wrapped item.

View Source

Name

Gets or sets a name for the wrapped item.

Declaration
public string Name { get; set; }
Property Value
Type Description
string

The name of the wrapped item.

Methods

View Source

InvokeMetadataChanged()

Explicitly invokes MetadataChanged to notify listeners.

Declaration
public void InvokeMetadataChanged()

Events

View Source

MetadataChanged

Occurs when metadata on the item changes.

Declaration
public event EventHandler MetadataChanged
Event Type
Type Description
EventHandler

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
DependencyObjectExtensions.XamlClone<T>(T)
DependencyObjectExtensions.FindAncestor<T>(DependencyObject)
DependencyObjectExtensions.FindFirstChildByType<T>(DependencyObject)
DependencyObjectExtensions.FindLogicalAncestor<T>(DependencyObject)
DependencyObjectExtensions.GetChildrenByType<T>(DependencyObject)
DependencyObjectExtensions.GetContainer(DependencyObject)
DependencyObjectExtensions.SetContainer(DependencyObject, CompositionContainer)
  • View Source
Back to top Generated by DocFX