Class SegmentPropertiesChangedEventArgs
Information passed in the SegmentPropertiesChanged event.
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class SegmentPropertiesChangedEventArgs : EventArgs
Constructors
SegmentPropertiesChangedEventArgs(ParagraphUnitId, ISegmentPairProperties, ISegmentPairProperties)
Construct with the paragraph ID and the the new and old segment properties.
Declaration
public SegmentPropertiesChangedEventArgs(ParagraphUnitId paragraphId, ISegmentPairProperties newProperties, ISegmentPairProperties oldProperties)
Parameters
Type | Name | Description |
---|---|---|
ParagraphUnitId | paragraphId | |
ISegmentPairProperties | newProperties | |
ISegmentPairProperties | oldProperties |
Properties
NewProperties
Node in the target document corresponding to the segment with updated properties.
Declaration
public ISegmentPairProperties NewProperties { get; set; }
Property Value
Type | Description |
---|---|
ISegmentPairProperties |
OldProperties
The segment pair properties before they were changed.
Declaration
public ISegmentPairProperties OldProperties { get; set; }
Property Value
Type | Description |
---|---|
ISegmentPairProperties |
ParagraphUnitId
Node in the source document corresponding to the segment with updated properties.
Declaration
public ParagraphUnitId ParagraphUnitId { get; set; }
Property Value
Type | Description |
---|---|
ParagraphUnitId |