SnapLine.SnapLineType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of a snapline, which indicates the general location and orientation.
public:
property System::Windows::Forms::Design::Behavior::SnapLineType SnapLineType { System::Windows::Forms::Design::Behavior::SnapLineType get(); };
public System.Windows.Forms.Design.Behavior.SnapLineType SnapLineType { get; }
member this.SnapLineType : System.Windows.Forms.Design.Behavior.SnapLineType
Public ReadOnly Property SnapLineType As SnapLineType
Property Value
A SnapLineType that represents the orientation and general location, relative to control edges, of a snapline.
Remarks
Visual designers use the SnapLineType property to direct snap alignment operations. Typically only snaplines that are similarly oriented can snap to each other. For example, two snaplines of type Horizontal can snap together, but a Horizontal and a Vertical snapline cannot.
This property is initialized during construction and cannot be changed thereafter.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for