C# Класс UiaAtkBridge.Button

Наследование: ComponentAdapter, Atk.IActionImplementor, Atk.ITextImplementor, Atk.IImageImplementor
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
actionName string
imageImplementor ImageImplementorHelper

Открытые методы

Метод Описание
AddSelection ( int startOffset, int endOffset ) : bool
Button ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
DoAction ( int action ) : bool
GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
GetCharacterAtOffset ( int offset ) : char
GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
GetDescription ( int action ) : string
GetImagePosition ( int &x, int &y, Atk coordType ) : void
GetImageSize ( int &width, int &height ) : void
GetKeybinding ( int action ) : string
GetLocalizedName ( int action ) : string
GetName ( int action ) : string
GetOffsetAtPoint ( int x, int y, Atk coords ) : int
GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
GetText ( int startOffset, int endOffset ) : string
GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetDescription ( int action, string description ) : bool
SetImageDescription ( string description ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool

Защищенные методы

Метод Описание
InitializeAdditionalProviders ( ) : void
OnRefStateSet ( ) : Atk.StateSet
UpdateNameProperty ( string newName, bool fromCtor ) : void

Приватные методы

Метод Описание
OnPressed ( ) : void
OnReleased ( ) : void

Описание методов

AddSelection() публичный Метод

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
Результат bool

Button() публичный Метод

public Button ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
provider System.Windows.Automation.Provider.IRawElementProviderSimple
Результат System

DoAction() публичный Метод

public DoAction ( int action ) : bool
action int
Результат bool

GetBoundedRanges() публичный Метод

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
Результат Atk.TextRange

GetCharacterAtOffset() публичный Метод

public GetCharacterAtOffset ( int offset ) : char
offset int
Результат char

GetCharacterExtents() публичный Метод

public GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
offset int
x int
y int
width int
height int
coords Atk
Результат void

GetDescription() публичный Метод

public GetDescription ( int action ) : string
action int
Результат string

GetImagePosition() публичный Метод

public GetImagePosition ( int &x, int &y, Atk coordType ) : void
x int
y int
coordType Atk
Результат void

GetImageSize() публичный Метод

public GetImageSize ( int &width, int &height ) : void
width int
height int
Результат void

GetKeybinding() публичный Метод

public GetKeybinding ( int action ) : string
action int
Результат string

GetLocalizedName() публичный Метод

public GetLocalizedName ( int action ) : string
action int
Результат string

GetName() публичный Метод

public GetName ( int action ) : string
action int
Результат string

GetOffsetAtPoint() публичный Метод

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
Результат int

GetRangeExtents() публичный Метод

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
Результат void

GetRunAttributes() публичный Метод

public GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
offset int
startOffset int
endOffset int
Результат Atk.Attribute[]

GetSelection() публичный Метод

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
Результат string

GetText() публичный Метод

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
Результат string

GetTextAfterOffset() публичный Метод

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

GetTextAtOffset() публичный Метод

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

GetTextBeforeOffset() публичный Метод

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

InitializeAdditionalProviders() защищенный Метод

protected InitializeAdditionalProviders ( ) : void
Результат void

OnRefStateSet() защищенный Метод

protected OnRefStateSet ( ) : Atk.StateSet
Результат Atk.StateSet

RaiseAutomationEvent() публичный Метод

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
Результат void

RaiseAutomationPropertyChangedEvent() публичный Метод

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
e System.Windows.Automation.AutomationPropertyChangedEventArgs
Результат void

RemoveSelection() публичный Метод

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
Результат bool

SetCaretOffset() публичный Метод

public SetCaretOffset ( int offset ) : bool
offset int
Результат bool

SetDescription() публичный Метод

public SetDescription ( int action, string description ) : bool
action int
description string
Результат bool

SetImageDescription() публичный Метод

public SetImageDescription ( string description ) : bool
description string
Результат bool

SetSelection() публичный Метод

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
Результат bool

UpdateNameProperty() защищенный Метод

protected UpdateNameProperty ( string newName, bool fromCtor ) : void
newName string
fromCtor bool
Результат void

Описание свойств

actionName защищенное свойство

protected string actionName
Результат string

imageImplementor защищенное свойство

protected ImageImplementorHelper,UiaAtkBridge imageImplementor
Результат ImageImplementorHelper