C# Class Mono.UIAutomation.Winforms.SimpleControlProvider

Inheritance: System.Windows.Automation.Provider.IRawElementProviderSimple
ファイルを表示 Open project: mono/uia2atk Class Usage Examples

Public Methods

Method Description
GetPatternProvider ( int patternId ) : object
GetPropertyValue ( int propertyId ) : object
Initialize ( ) : void
SetEvent ( ProviderEventType type, IConnectable strategy ) : void
Terminate ( ) : void

Protected Methods

Method Description
GetBehavior ( AutomationPattern pattern ) : IProviderBehavior
GetProviderPropertyValue ( int propertyId ) : object
IsBehaviorEnabled ( AutomationPattern pattern ) : bool
OnProviderBehaviorSet ( ProviderBehaviorEventArgs args ) : void
SetBehavior ( AutomationPattern pattern, IProviderBehavior behavior ) : void
SimpleControlProvider ( Component component ) : System

Private Methods

Method Description
Distance ( System p1, System p2 ) : double
DistanceFrom ( System.Windows.Automation.Provider.IRawElementProviderSimple otherProvider ) : double

Method Details

GetBehavior() protected method

protected GetBehavior ( AutomationPattern pattern ) : IProviderBehavior
pattern System.Windows.Automation.AutomationPattern
return IProviderBehavior

GetPatternProvider() public method

public GetPatternProvider ( int patternId ) : object
patternId int
return object

GetPropertyValue() public method

public GetPropertyValue ( int propertyId ) : object
propertyId int
return object

GetProviderPropertyValue() protected method

protected GetProviderPropertyValue ( int propertyId ) : object
propertyId int
return object

Initialize() public method

public Initialize ( ) : void
return void

IsBehaviorEnabled() protected method

protected IsBehaviorEnabled ( AutomationPattern pattern ) : bool
pattern System.Windows.Automation.AutomationPattern
return bool

OnProviderBehaviorSet() protected method

protected OnProviderBehaviorSet ( ProviderBehaviorEventArgs args ) : void
args Mono.UIAutomation.Winforms.Behaviors.ProviderBehaviorEventArgs
return void

SetBehavior() protected method

protected SetBehavior ( AutomationPattern pattern, IProviderBehavior behavior ) : void
pattern System.Windows.Automation.AutomationPattern
behavior IProviderBehavior
return void

SetEvent() public method

public SetEvent ( ProviderEventType type, IConnectable strategy ) : void
type ProviderEventType
strategy IConnectable
return void

SimpleControlProvider() protected method

protected SimpleControlProvider ( Component component ) : System
component System.ComponentModel.Component
return System

Terminate() public method

public Terminate ( ) : void
return void