DataContextValueSourceAttribute.IsCollectionItem Property
Gets a value that indicates whether the data context is an item in a collection.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property IsCollectionItem As Boolean
Get
Private Set
public bool IsCollectionItem { get; private set; }
public:
property bool IsCollectionItem {
bool get ();
private: void set (bool value);
}
member IsCollectionItem : bool with get, private set
function get IsCollectionItem () : boolean
private function set IsCollectionItem (value : boolean)
Property Value
Type: System.Boolean
true if the data context is an item in a collection; otherwise, false.
Remarks
If the data context is a collection, the designer uses an item in the collection when IsCollectionItem is set to true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataContextValueSourceAttribute Class
Microsoft.Windows.Design Namespace