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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin