C# 클래스 SIL.FieldWorks.SharpViews.Hookups.LiteralStringParaHookup

This is a cut-down version of StringHookup used in selection of client runs that don't have natural hookups, such as literal strings. It never sends change notifcations, so doesn't need delegates for updates and notifications. If you find a LiteralStringParaHookup where you expected one that allows editing, like StringHookup or TssHookup, one possible cause is that you don't have a correctly named "XChanged" event being triggered when your property X changes.
상속: Hookup
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ApplyStyle void
CanApplyStyle bool
CanDelete bool
CanInsertText bool
Delete void
InsertText void
InsertText void

공개 메소드들

메소드 설명
GetStyleNameAt ( InsertionPoint ip ) : string
LiteralStringParaHookup ( object target, IStringParaNotification para ) : System
SelectAtEnd ( ) : InsertionPoint

This kind of hookup can really do it!

SelectAtStart ( ) : InsertionPoint

This kind of hookup can really do it!

비공개 메소드들

메소드 설명
ApplyStyle ( InsertionPoint start, InsertionPoint end, string style ) : void
CanApplyStyle ( InsertionPoint start, InsertionPoint end, string style ) : bool
CanDelete ( InsertionPoint start, InsertionPoint end ) : bool

Return true if we can delete the specified range. A LiteralStringHookup never can, but some subclasses can.

CanInsertText ( InsertionPoint ip ) : bool

A generic hookup knows it can't, but various subclasses can.

Delete ( InsertionPoint start, InsertionPoint end ) : void

Delete the specified range (some subclasses actually can). Todo JohnT: more should be able to.

InsertText ( InsertionPoint ip, ITsString input ) : void
InsertText ( InsertionPoint ip, string input ) : void

메소드 상세

GetStyleNameAt() 공개 메소드

public GetStyleNameAt ( InsertionPoint ip ) : string
ip SIL.FieldWorks.SharpViews.Selections.InsertionPoint
리턴 string

LiteralStringParaHookup() 공개 메소드

public LiteralStringParaHookup ( object target, IStringParaNotification para ) : System
target object
para IStringParaNotification
리턴 System

SelectAtEnd() 공개 메소드

This kind of hookup can really do it!
public SelectAtEnd ( ) : InsertionPoint
리턴 SIL.FieldWorks.SharpViews.Selections.InsertionPoint

SelectAtStart() 공개 메소드

This kind of hookup can really do it!
public SelectAtStart ( ) : InsertionPoint
리턴 SIL.FieldWorks.SharpViews.Selections.InsertionPoint