BrushCollection.ReplaceAll(Brush[]) Method

Definition

Initially clears the collection, then inserts the provided array as new items.

public:
 virtual void ReplaceAll(Platform::Array <Brush ^> ^ items) = IVector<Brush ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <Brush const&> const& items);
public void ReplaceAll(Brush[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As Brush())

Parameters

items
Brush[]

The new collection items.

Implements

Remarks

For implementations that track a "changed" event, the initial reset fires an event, but the items added do not fire discrete events.

Applies to