AppearanceDictionary class

Annotation appearance dictionary specifying how the annotation shall be presented visually on the page.

public sealed class AppearanceDictionary : IDictionary<string, XForm>


Name Description
Count { get; } Gets the number of elements contained in the dictionary.
IsFixedSize { get; } Gets a value indicating whether dictionary has a fixed size.
IsReadOnly { get; } Gets a value indicating whether dictionary is read-only.
IsSynchronized { get; } Gets a value indicating whether access to the dictionary is synchronized (thread safe).
Item { get; set; } Represents convenient form for getting appearance streams.
Keys { get; } Gets keys of the dictionary. If appearance dictionary has subditionaries, then Keys contains (N|R|D).state values, where N - normal appearance, R - rollover appearance, D - down appearance and state - the name of the state (e.g. On, Off for checkboxes).
SyncRoot { get; } Gets an object that can be used to synchronize access to the dictionary.
Values { get; } Gets the list of the dictionary values. Result collection contains the list of XForm objects.


Name Description
Add(KeyValuePair<string, XForm>) Adds pair with key and value into the dictionary.
Add(string, XForm) Add X form for specifed key.
Clear() Removes all elements from the dictionary.
Contains(KeyValuePair<string, XForm>) Checks does specified key-value pair is contained in the dictionary.
ContainsKey(string) Determines does this dictionary contasins specified key.
CopyTo(KeyValuePair<string, XForm>[], int)
CopyTo(XForm[], int) Copies the elements of the dictionary to an Array, starting at a particular Array index.
GetEnumerator() Returns an IDictionaryEnumerator object for the dictionary.
Remove(KeyValuePair<string, XForm>) Removes key/value pair from the collection.
Remove(string) Removes key from the dictionary.
TryGetValue(string, out XForm) Tries to find key in the dictionary and retreives value if found.

See Also