Search Results for

    Show / Hide Table of Contents

    Class SegmentPropertiesChangedEventArgs

    Information passed in the SegmentPropertiesChanged event.

    Inheritance
    System.Object
    System.EventArgs
    SegmentPropertiesChangedEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    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

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • SegmentPropertiesChangedEventArgs(ParagraphUnitId, ISegmentPairProperties, ISegmentPairProperties)
    • Properties
      • NewProperties
      • OldProperties
      • ParagraphUnitId
    • Extension Methods
    Back to top Generated by DocFX