Skip to main content
.NET Framework Class Library
DrawingCollection Class

Represents an ordered collection of Drawing objects.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax
Public NotInheritable Class DrawingCollection _
	Inherits [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_0%] _
	Implements [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_1%], [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_2%], [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_3%](Of [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_4%]),  _
	[%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_5%](Of [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_6%]), [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_7%](Of [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_8%]), [%$TOPIC/ms653173_en-us_VS_110_3_0_0_0_9%]
public sealed class DrawingCollection : [%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_0%], 
	[%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_1%], [%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_2%], [%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_3%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_4%]>, [%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_5%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_6%]>, 
	[%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_7%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_8%]>, [%$TOPIC/ms653173_en-us_VS_110_3_0_1_0_9%]
public ref class DrawingCollection sealed : public [%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_0%], 
	[%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_1%], [%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_2%], [%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_3%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_4%]^>, [%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_5%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_6%]^>, 
	[%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_7%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_8%]^>, [%$TOPIC/ms653173_en-us_VS_110_3_0_2_0_9%]
[<[%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_0%]>]
type DrawingCollection =  
    class 
        inherit [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_1%] 
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_2%] 
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_3%] 
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_4%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_5%]>
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_6%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_7%]>
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_8%]<[%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_9%]>
        interface [%$TOPIC/ms653173_en-us_VS_110_3_0_3_0_10%] 
    end
<DrawingCollection .../>
<object>
  <object.property>
    oneOrMoreDrawingObjectElements
  </object.property>
</object>

XAML Values

oneOrMoreDrawingObjectElements

One or more Drawing objects, declared using object element syntax.

The DrawingCollection type exposes the following members.

Constructors
  NameDescription
Public method DrawingCollectionInitializes a new instance of the DrawingCollection class.
Public method DrawingCollection(IEnumerableDrawing)Initializes a new instance of the DrawingCollection class with the specified collection of Drawing objects.
Public method DrawingCollection(Int32)Initializes a new instance of DrawingCollection with the specified capacity.
Top
Properties
  NameDescription
Public property CanFreezeGets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Public property CountGets the number of Drawing objects contained in the DrawingCollection.
Public property DependencyObjectTypeGets the DependencyObjectType that wraps the CLR type of this instance.  (Inherited from DependencyObject.)
Public property DispatcherGets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property HasAnimatedPropertiesGets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties. (Inherited from Animatable.)
Public property IsFrozenGets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Public property IsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.)
Public property Item Gets or sets the Drawing at the specified zero-based index.
Top
Methods
  NameDescription
Public method AddAdds a Drawing to the end of the DrawingCollection.
Public method ApplyAnimationClock(DependencyProperty, AnimationClock)Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. (Inherited from Animatable.)
Public method ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. (Inherited from Animatable.)
Public method BeginAnimation(DependencyProperty, AnimationTimeline)Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. (Inherited from Animatable.)
Public method BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. (Inherited from Animatable.)
Public method CheckAccessDetermines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method ClearRemoves all the items from this DrawingCollection.
Public method ClearValue(DependencyProperty)Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.)
Public method ClearValue(DependencyPropertyKey)Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.)
Public method CloneCreates a modifiable clone of this DrawingCollection, making deep copies of this object's values. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.
Public method CloneCurrentValueCreates a modifiable clone of this DrawingCollection object, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are.
Public method CoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.)
Public method Contains Determines whether a given Drawing is in this DrawingCollection.
Public method CopyToCopies the items of this DrawingCollection, starting with the specified index value, into an array of Drawing objects.
Public method EqualsDetermines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.)
Public method FreezeMakes the current object unmodifiable and sets its IsFrozen property to true. (Inherited from Freezable.)
Public method GetAnimationBaseValueReturns the non-animated value of the specified DependencyProperty. (Inherited from Animatable.)
Public method GetAsFrozenCreates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from Freezable.)
Public method GetCurrentValueAsFrozenCreates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from Freezable.)
Public method GetEnumeratorReturns an enumerator that can iterate through the collection.
Public method GetHashCodeGets a hash code for this DependencyObject. (Inherited from DependencyObject.)
Public method GetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method GetValueReturns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)
Public method IndexOfGets the index position of the first occurrence of the specified Drawing.
Public method InsertInserts a Drawing into this DrawingCollection at the specified index position.
Public method InvalidatePropertyRe-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.)
Public method ReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Public method RemoveRemoves the first occurrence of the specified Drawing from the DrawingCollection.
Public method RemoveAtRemoves the Drawing at the specified index position from the DrawingCollection.
Public method SetCurrentValueSets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)
Public method SetValue(DependencyProperty, Object)Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Public method SetValue(DependencyPropertyKey, Object)Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.)
Protected method ShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.)
Public method ToStringReturns a string that represents the current object. (Inherited from Object.)
Public method VerifyAccessEnforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top
Events
  NameDescription
Public event ChangedOccurs when the Freezable or an object it contains is modified. (Inherited from Freezable.)
Top
Extension Methods
  NameDescription
Public Extension Method AggregateDrawing(FuncDrawing, Drawing, Drawing)Overloaded. Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method AggregateDrawing, TAccumulate(TAccumulate, FuncTAccumulate, Drawing, TAccumulate)Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.)
Public Extension Method AggregateDrawing, TAccumulate, TResult(TAccumulate, FuncTAccumulate, Drawing, TAccumulate, FuncTAccumulate, TResult)Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.)
Public Extension Method AllDrawingDetermines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method AnyDrawingOverloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.)
Public Extension Method AnyDrawing(FuncDrawing, Boolean)Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
Public Extension Method AsEnumerableDrawingReturns the input typed as IEnumerableT. (Defined by Enumerable.)
Public Extension Method AsParallelOverloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallelDrawingOverloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryableOverloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryableDrawingOverloaded. Converts a generic IEnumerableT to a generic IQueryableT. (Defined by Queryable.)
Public Extension Method AverageDrawing(FuncDrawing, NullableDecimal)Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, NullableDouble)Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, Int32)Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, NullableInt32)Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, Int64)Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, NullableInt64)Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, Single)Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, NullableSingle)Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, Double)Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method AverageDrawing(FuncDrawing, Decimal)Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method CastTResultCasts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method ConcatDrawingConcatenates two sequences. (Defined by Enumerable.)
Public Extension Method ContainsDrawing(Drawing)Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method ContainsDrawing(Drawing, IEqualityComparerDrawing)Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparerT. (Defined by Enumerable.)
Public Extension Method CountDrawingOverloaded. Returns the number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method CountDrawing(FuncDrawing, Boolean)Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method DefaultIfEmptyDrawingOverloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method DefaultIfEmptyDrawing(Drawing)Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method DistinctDrawingOverloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method DistinctDrawing(IEqualityComparerDrawing)Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparerT to compare values. (Defined by Enumerable.)
Public Extension Method ElementAtDrawingReturns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefaultDrawingReturns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method ExceptDrawing(IEnumerableDrawing)Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method ExceptDrawing(IEnumerableDrawing, IEqualityComparerDrawing)Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparerT to compare values. (Defined by Enumerable.)
Public Extension Method FirstDrawingOverloaded. Returns the first element of a sequence. (Defined by Enumerable.)
Public Extension Method FirstDrawing(FuncDrawing, Boolean)Overloaded. Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method FirstOrDefaultDrawingOverloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method FirstOrDefaultDrawing(FuncDrawing, Boolean)Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey(FuncDrawing, TKey)Overloaded. Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey(FuncDrawing, TKey, IEqualityComparerTKey)Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement)Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TResult(FuncDrawing, TKey, FuncTKey, IEnumerableDrawing, TResult)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement, IEqualityComparerTKey)Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TResult(FuncDrawing, TKey, FuncTKey, IEnumerableDrawing, TResult, IEqualityComparerTKey)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TElement, TResult(FuncDrawing, TKey, FuncDrawing, TElement, FuncTKey, IEnumerableTElement, TResult)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupByDrawing, TKey, TElement, TResult(FuncDrawing, TKey, FuncDrawing, TElement, FuncTKey, IEnumerableTElement, TResult, IEqualityComparerTKey)Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupJoinDrawing, TInner, TKey, TResult(IEnumerableTInner, FuncDrawing, TKey, FuncTInner, TKey, FuncDrawing, IEnumerableTInner, TResult)Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method GroupJoinDrawing, TInner, TKey, TResult(IEnumerableTInner, FuncDrawing, TKey, FuncTInner, TKey, FuncDrawing, IEnumerableTInner, TResult, IEqualityComparerTKey)Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparerT is used to compare keys. (Defined by Enumerable.)
Public Extension Method IntersectDrawing(IEnumerableDrawing)Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method IntersectDrawing(IEnumerableDrawing, IEqualityComparerDrawing)Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparerT to compare values. (Defined by Enumerable.)
Public Extension Method JoinDrawing, TInner, TKey, TResult(IEnumerableTInner, FuncDrawing, TKey, FuncTInner, TKey, FuncDrawing, TInner, TResult)Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method JoinDrawing, TInner, TKey, TResult(IEnumerableTInner, FuncDrawing, TKey, FuncTInner, TKey, FuncDrawing, TInner, TResult, IEqualityComparerTKey)Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparerT is used to compare keys. (Defined by Enumerable.)
Public Extension Method LastDrawingOverloaded. Returns the last element of a sequence. (Defined by Enumerable.)
Public Extension Method LastDrawing(FuncDrawing, Boolean)Overloaded. Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method LastOrDefaultDrawingOverloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method LastOrDefaultDrawing(FuncDrawing, Boolean)Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method LongCountDrawingOverloaded. Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method LongCountDrawing(FuncDrawing, Boolean)Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method MaxDrawingOverloaded. Returns the maximum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, NullableDecimal)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, NullableDouble)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, Int32)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, NullableInt32)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, Int64)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, NullableInt64)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, Single)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, NullableSingle)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, Double)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable.)
Public Extension Method MaxDrawing(FuncDrawing, Decimal)Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable.)
Public Extension Method MaxDrawing, TResult(FuncDrawing, TResult)Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable.)
Public Extension Method MinDrawingOverloaded. Returns the minimum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, NullableDecimal)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, NullableDouble)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, Int32)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, NullableInt32)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, Int64)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, NullableInt64)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, Single)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, NullableSingle)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, Double)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable.)
Public Extension Method MinDrawing(FuncDrawing, Decimal)Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable.)
Public Extension Method MinDrawing, TResult(FuncDrawing, TResult)Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable.)
Public Extension Method OfTypeTResultFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OrderByDrawing, TKey(FuncDrawing, TKey)Overloaded. Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderByDrawing, TKey(FuncDrawing, TKey, IComparerTKey)Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method OrderByDescendingDrawing, TKey(FuncDrawing, TKey)Overloaded. Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderByDescendingDrawing, TKey(FuncDrawing, TKey, IComparerTKey)Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method ReverseDrawingInverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method SelectDrawing, TResult(FuncDrawing, TResult)Overloaded. Projects each element of a sequence into a new form. (Defined by Enumerable.)
Public Extension Method SelectDrawing, TResult(FuncDrawing, Int32, TResult)Overloaded. Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable.)
Public Extension Method SelectManyDrawing, TResult(FuncDrawing, IEnumerableTResult)Overloaded. Projects each element of a sequence to an IEnumerableT and flattens the resulting sequences into one sequence. (Defined by Enumerable.)
Public Extension Method SelectManyDrawing, TResult(FuncDrawing, Int32, IEnumerableTResult)Overloaded. Projects each element of a sequence to an IEnumerableT, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectManyDrawing, TCollection, TResult(FuncDrawing, Int32, IEnumerableTCollection, FuncDrawing, TCollection, TResult)Overloaded. Projects each element of a sequence to an IEnumerableT, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectManyDrawing, TCollection, TResult(FuncDrawing, IEnumerableTCollection, FuncDrawing, TCollection, TResult)Overloaded. Projects each element of a sequence to an IEnumerableT, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable.)
Public Extension Method SequenceEqualDrawing(IEnumerableDrawing)Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable.)
Public Extension Method SequenceEqualDrawing(IEnumerableDrawing, IEqualityComparerDrawing)Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparerT. (Defined by Enumerable.)
Public Extension Method SingleDrawingOverloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable.)
Public Extension Method SingleDrawing(FuncDrawing, Boolean)Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable.)
Public Extension Method SingleOrDefaultDrawingOverloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable.)
Public Extension Method SingleOrDefaultDrawing(FuncDrawing, Boolean)Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable.)
Public Extension Method SkipDrawingBypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhileDrawing(FuncDrawing, Boolean)Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhileDrawing(FuncDrawing, Int32, Boolean)Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, NullableDecimal)Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, NullableDouble)Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, Int32)Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, NullableInt32)Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, Int64)Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, NullableInt64)Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, Single)Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, NullableSingle)Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, Double)Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SumDrawing(FuncDrawing, Decimal)Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method TakeDrawingReturns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhileDrawing(FuncDrawing, Boolean)Overloaded. Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable.)
Public Extension Method TakeWhileDrawing(FuncDrawing, Int32, Boolean)Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method ToArrayDrawingCreates an array from a IEnumerableT. (Defined by Enumerable.)
Public Extension Method ToDictionaryDrawing, TKey(FuncDrawing, TKey)Overloaded. Creates a DictionaryTKey, TValue from an IEnumerableT according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToDictionaryDrawing, TKey(FuncDrawing, TKey, IEqualityComparerTKey)Overloaded. Creates a DictionaryTKey, TValue from an IEnumerableT according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToDictionaryDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement)Overloaded. Creates a DictionaryTKey, TValue from an IEnumerableT according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToDictionaryDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement, IEqualityComparerTKey)Overloaded. Creates a DictionaryTKey, TValue from an IEnumerableT according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable.)
Public Extension Method ToListDrawingCreates a ListT from an IEnumerableT. (Defined by Enumerable.)
Public Extension Method ToLookupDrawing, TKey(FuncDrawing, TKey)Overloaded. Creates a LookupTKey, TElement from an IEnumerableT according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToLookupDrawing, TKey(FuncDrawing, TKey, IEqualityComparerTKey)Overloaded. Creates a LookupTKey, TElement from an IEnumerableT according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToLookupDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement)Overloaded. Creates a LookupTKey, TElement from an IEnumerableT according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToLookupDrawing, TKey, TElement(FuncDrawing, TKey, FuncDrawing, TElement, IEqualityComparerTKey)Overloaded. Creates a LookupTKey, TElement from an IEnumerableT according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable.)
Public Extension Method UnionDrawing(IEnumerableDrawing)Overloaded. Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method UnionDrawing(IEnumerableDrawing, IEqualityComparerDrawing)Overloaded. Produces the set union of two sequences by using a specified IEqualityComparerT. (Defined by Enumerable.)
Public Extension Method WhereDrawing(FuncDrawing, Boolean)Overloaded. Filters a sequence of values based on a predicate. (Defined by Enumerable.)
Public Extension Method WhereDrawing(FuncDrawing, Int32, Boolean)Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method ZipDrawing, TSecond, TResultApplies a specified function to the corresponding elements of two sequences, producing a sequence of the results. (Defined by Enumerable.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implemetation Private method ICollectionCopyToInfrastructure. For a description of this member, see ICollectionCopyTo.
Explicit interface implemetation Private property ICollectionDrawingIsReadOnlyInfrastructure. For a description of this member, see ICollectionTIsReadOnly.
Explicit interface implemetation Private property ICollectionIsSynchronizedInfrastructure. For a description of this member, see ICollectionIsSynchronized.
Explicit interface implemetation Private property ICollectionSyncRootInfrastructure. For a description of this member, see ICollectionSyncRoot.
Explicit interface implemetation Private method IEnumerableDrawingGetEnumeratorInfrastructure. For a description of this member, see IEnumerableTGetEnumerator.
Explicit interface implemetation Private method IEnumerableGetEnumeratorInfrastructure. For a description of this member, see IEnumerableGetEnumerator.
Explicit interface implemetation Private method IListAddInfrastructure. For a description of this member, see IListAdd.
Explicit interface implemetation Private method IListContainsInfrastructure. For a description of this member, see IListContains.
Explicit interface implemetation Private method IListIndexOfInfrastructure. For a description of this member, see IListIndexOf.
Explicit interface implemetation Private method IListInsertInfrastructure. For a description of this member, see IListInsert.
Explicit interface implemetation Private property IListIsFixedSizeInfrastructure. For a description of this member, see IListIsFixedSize.
Explicit interface implemetation Private property IListIsReadOnlyInfrastructure. For a description of this member, see IListIsReadOnly.
Explicit interface implemetation Private property IListItemInfrastructure. For a description of this member, see IListItem.
Explicit interface implemetation Private method IListRemoveInfrastructure. For a description of this member, see IListRemove.
Top
Remarks

Except as noted, members of this class behave exactly as described by the IListT, ICollectionT, and IEnumerableT documentation.

Freezable Features: Because it inherits from the Freezable class, the DrawingCollection class provides several special features: DrawingCollection objects can be declared as resources, shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. For more information about the different features provided by Freezable objects, see the Freezable Objects Overview.

Version Information

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.