/// <summary> /// Sets the value of the <see cref="CropGeometryAttachedProp.TopRight"/> attached property /// for a given <see cref="PolyLineSegment"/> object. /// </summary> /// <param name="polyLineSegment">The <see cref="PolyLineSegment"/> object to which the property value is written.</param> /// <param name="value"> /// Sets the <see cref="CropGeometryAttachedProp.TopRight"/> <see cref="Point"/> in the <see cref="PolyLineSegment.Points"/> collection. /// </param> public static void SetTopRight(PolyLineSegment polyLineSegment, Point value) => polyLineSegment.SetValue(TopRightProperty, value);
/// <summary> /// Sets the value of the <see cref="CropGeometryAttachedProp.BottomLeft"/> attached property /// for a given <see cref="PolyLineSegment"/> object. /// </summary> /// <param name="polyLineSegment">The <see cref="PolyLineSegment"/> object to which the property value is written.</param> /// <param name="value"> /// Sets the <see cref="CropGeometryAttachedProp.BottomLeft"/> <see cref="Point"/> in the <see cref="PolyLineSegment.Points"/> collection. /// </param> public static void SetBottomLeft(PolyLineSegment polyLineSegment, Point value) => polyLineSegment.SetValue(BottomLeftProperty, value);