[]
Tries to get a style from the collection by its name.
public bool TryGetValue(string name, out Style style)
Public Function TryGetValue(name As String, ByRef style As Style) As Boolean
Type | Name | Description |
---|---|---|
string | name | The style name. |
Style | style | When this method returns, contains the style with the specified name or alias if the style was found, or null otherwise. |
Type | Description |
---|---|
bool | True if the style with the specified name or alias was found, false otherwise. |