SnapLine.Filter SnapLine.Filter SnapLine.Filter SnapLine.Filter Property


Gets the programmer-defined filter category associated with this snapline.

 property System::String ^ Filter { System::String ^ get(); };
public string Filter { get; }
member this.Filter : string
Public ReadOnly Property Filter As String

Property Value

A String that defines the filter category. The default is null.


The Filter property is used to define custom categories of snaplines. Only snaplines with the same filter name are able to snap to each other. This property can be used in custom control designers to expose different categories of snaplines depending upon the state of the control or the type of operation being performed. For example, round controls could offer a custom snapline with the filter value of "Center".

This property is initialized during construction and cannot be changed thereafter.

Applies to

See also