UIElementCollection.IsReadOnly property

Applies to Windows and Windows Phone

Gets a value indicating whether the collection is read-only.

Syntax


public bool IsReadOnly { get; }

Property value

Type: System.Boolean

true if the collection is read-only; otherwise, false.

Remarks

For UIElementCollection, IsReadOnly always returns false. IsReadOnly exists because the ICollection<T> interface contract requires an implementation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls

See also

UIElementCollection

 

 

Show:
© 2014 Microsoft