Share via


IXRSetterBaseCollection (Windows Embedded CE 6.0)

1/6/2010

This class represents a collection of objects that inherit from IXRSetterBase.

Syntax

class IXRSetterBaseCollection : public IXRCollection<IXRSetterBase*, IXRDependencyObject*>

Methods

IXRSetterBaseCollection inherits the methods from the template class IXRCollection<In_T, Out_T>. It uses In_T parameters of type IXRSetterBase*, and uses Out_T parameters of type IXRDependencyObject*. In addition to the methods inherited from IXRCollection<In_T, Out_T>, this class exposes the following method.

Method Description

IXRSetterBaseCollection::GetIsSealed

Retrieves a value that indicates whether this collection is in a read-only state.

Remarks

You can obtain an IXRSetterBaseCollection pointer by calling IXRStyle::GetSetters. Then, you can use the methods inherited from IXRCollection<In_T, Out_T> to add items, remove items, or retrieve items. You can also clear the complete collection by calling the inherited method IXRCollection<In_T, Out_T>::Clear.

You can define a setter-base collection in Microsoft Silverlight 2 XAML. For information on the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this collection in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRCollection<In_T, Out_T>

        IXRSetterBaseCollection

.NET Framework Equivalent

System.Windows.SetterBaseCollection

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Collection Management