Show / Hide Table of Contents

Class ItemMetadata

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

Inheritance
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
ItemMetadata
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
System.Windows.DependencyObject.CoerceValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.Equals(System.Object)
System.Windows.DependencyObject.GetHashCode()
System.Windows.DependencyObject.GetLocalValueEnumerator()
System.Windows.DependencyObject.GetValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.DependencyObject.ReadLocalValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.SetCurrentValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object)
System.Windows.DependencyObject.ShouldSerializeProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.DependencyObjectType
System.Windows.DependencyObject.IsSealed
System.Windows.Threading.DispatcherObject.Dispatcher
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.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
System.Windows.DependencyProperty
View Source

NameProperty

The name of the wrapped item.

Declaration
public static readonly DependencyProperty NameProperty
Field Value
Type Description
System.Windows.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
System.Boolean

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
System.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
System.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
System.EventHandler

Extension Methods

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