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
Показать файл Открыть проект Примеры использования класса

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