SnapLine.Filter 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 programmer-defined filter category associated with this snapline.
public:
property System::String ^ Filter { System::String ^ get(); };
public string Filter { 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
.
Remarks
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.