C# 클래스 SIL.FieldWorks.LexText.Controls.PatternView

This class represents a Views rootsite control that is used to display a pattern. It notifies the pattern control about key presses and right clicks.
상속: SIL.FieldWorks.Common.RootSites.RootSiteControl
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
Init ( XCore.Mediator mediator, int hvo, IPatternControl patternControl, PatternVcBase vc, int rootFrag, ISilDataAccess sda ) : void
MakeRoot ( ) : void
SelectAt ( object ctxt, int index, bool initial, bool editable, bool install ) : IVwSelection

Moves the cursor to the specified position in the specified cell.

보호된 메소드들

메소드 설명
CreateEditingHelper ( ) : EditingHelper
HandleSelectionChange ( IVwRootBox prootb, IVwSelection vwselNew ) : void
OnKeyDown ( KeyEventArgs e ) : void

override this to allow deleting an item IF the key is Delete.

OnKeyPress ( KeyPressEventArgs e ) : void

override this to allow deleting an item IF the key is Backspace.

OnRightMouseUp ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : bool

비공개 메소드들

메소드 설명
AdjustSelection ( SelectionHelper sel ) : void

Adjusts the selection.

GetSelectionInfo ( SelectionHelper sel, SelectionHelper limit, IVwSelection &vwSel, int &curHvo, int &curIch, int &curTag ) : bool

Creates a selection IP for the specified limit.

SelectCell ( object ctxt, bool initial, bool install ) : IVwSelection
SelectLeftBoundary ( object ctxt, int index, bool install ) : void
SelectRightBoundary ( object ctxt, int index, bool install ) : void
UpdateSelection ( IVwSelection vwselNew ) : void

Update the new selection. This is called by rule formula view when selection changes.

메소드 상세

CreateEditingHelper() 보호된 메소드

protected CreateEditingHelper ( ) : EditingHelper
리턴 EditingHelper

HandleSelectionChange() 보호된 메소드

protected HandleSelectionChange ( IVwRootBox prootb, IVwSelection vwselNew ) : void
prootb IVwRootBox
vwselNew IVwSelection
리턴 void

Init() 공개 메소드

public Init ( XCore.Mediator mediator, int hvo, IPatternControl patternControl, PatternVcBase vc, int rootFrag, ISilDataAccess sda ) : void
mediator XCore.Mediator
hvo int
patternControl IPatternControl
vc PatternVcBase
rootFrag int
sda ISilDataAccess
리턴 void

MakeRoot() 공개 메소드

public MakeRoot ( ) : void
리턴 void

OnKeyDown() 보호된 메소드

override this to allow deleting an item IF the key is Delete.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnKeyPress() 보호된 메소드

override this to allow deleting an item IF the key is Backspace.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
리턴 void

OnRightMouseUp() 보호된 메소드

protected OnRightMouseUp ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : bool
pt Point
rcSrcRoot System.Drawing.Rectangle
rcDstRoot System.Drawing.Rectangle
리턴 bool

SelectAt() 공개 메소드

Moves the cursor to the specified position in the specified cell.
public SelectAt ( object ctxt, int index, bool initial, bool editable, bool install ) : IVwSelection
ctxt object The context.
index int Index of the item in the cell.
initial bool if true move the cursor to the beginning of the specified item, otherwise it is moved to the end
editable bool if true move the cursor to the first editable position
install bool if true install the selection
리턴 IVwSelection