Class SegmentPropertiesChangedEventArgs
Information passed in the Segment
Inherited Members
Namespace: Sdl.DesktopEditor .EditorApi
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 |
---|---|---|
Paragraph |
paragraphId | |
ISegment |
newProperties | |
ISegment |
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 |
---|---|
ISegment |
OldProperties
The segment pair properties before they were changed.
Declaration
public ISegmentPairProperties OldProperties { get; set; }
Property Value
Type | Description |
---|---|
ISegment |
ParagraphUnitId
Node in the source document corresponding to the segment with updated properties.
Declaration
public ParagraphUnitId ParagraphUnitId { get; set; }
Property Value
Type | Description |
---|---|
Paragraph |