|
Link Here
|
| 52 |
|
52 |
|
| 53 |
textExpert = TextImplementorFactory.GetImplementor (this, provider); |
53 |
textExpert = TextImplementorFactory.GetImplementor (this, provider); |
| 54 |
|
54 |
|
|
|
55 |
Role = Atk.Role.MenuItem; |
| 56 |
|
| 55 |
string name = (string) provider.GetPropertyValue (AutomationElementIdentifiers.NameProperty.Id); |
57 |
string name = (string) provider.GetPropertyValue (AutomationElementIdentifiers.NameProperty.Id); |
| 56 |
if (!String.IsNullOrEmpty (name)) |
58 |
if (!String.IsNullOrEmpty (name)) |
| 57 |
Name = name; |
59 |
Name = name; |
|
Link Here
|
| 66 |
provider.GetPatternProvider (ExpandCollapsePatternIdentifiers.Pattern.Id); |
68 |
provider.GetPatternProvider (ExpandCollapsePatternIdentifiers.Pattern.Id); |
| 67 |
|
69 |
|
| 68 |
actionExpert.Add ("click", "click", null, DoClick); |
70 |
actionExpert.Add ("click", "click", null, DoClick); |
| 69 |
|
|
|
| 70 |
Role = Atk.Role.MenuItem; |
| 71 |
} |
71 |
} |
| 72 |
|
72 |
|
| 73 |
protected MenuItem (IntPtr ptr) |
73 |
protected MenuItem (IntPtr ptr) |