Click or drag to resize
IFormattingGroup Methods

The IFormattingGroup type exposes the following members.

Methods
  NameDescription
Public methodAdd(T) (Inherited from ICollectionKeyValuePairString, IFormattingItem.)
Public methodAdd(IFormattingItem)
Adds a formatting item to the collection. The FormattingName is used as a key. If a formatting of this type already exists, it will be replaced.
Public methodAdd(TKey, TValue) (Inherited from IDictionaryString, IFormattingItem.)
Public methodClear (Inherited from ICollectionKeyValuePairString, IFormattingItem.)
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodContains(T) (Inherited from ICollectionKeyValuePairString, IFormattingItem.)
Public methodContains(String)
Tests whether the collection contains a formatting item of a certain type.
Public methodContains(IFormattingItem)
Tests whether an equivalent formatting is part of the collection.
Public methodContainsKey (Inherited from IDictionaryString, IFormattingItem.)
Public methodCopyTo (Inherited from ICollectionKeyValuePairString, IFormattingItem.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableKeyValuePairString, IFormattingItem.)
Public methodGetSchema (Inherited from IXmlSerializable.)
Public methodOverrideWith
Adds each formatting item from the other object to this one, thereby overwriting any formatting of the same type in this object. Any formatting items in this object that do not have corresponding formatting items in the other object remain unchanged.

This can be used to apply a formatting override.

Public methodReadXml (Inherited from IXmlSerializable.)
Public methodRemove(TKey) (Inherited from IDictionaryString, IFormattingItem.)
Public methodRemove(T) (Inherited from ICollectionKeyValuePairString, IFormattingItem.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from IDictionaryString, IFormattingItem.)
Public methodUnderrideWith
Adds each formatting item from the other formatting that does not already exist in this collection.

This can be used to "overlay" formatting overrides when starting from the most significant formatting.

The difference to OverrideWith(IFormattingGroup) is the fact that existing formatting in this object is always preserved.

Public methodWriteXml (Inherited from IXmlSerializable.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments