Task.ModelFilter Property
Gets or sets the filter that is used to filter the set of model items seen by the designer's hit test algorithm.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property ModelFilter As ModelHitTestFilterCallback
Get
Set
public ModelHitTestFilterCallback ModelFilter { get; set; }
public:
property ModelHitTestFilterCallback^ ModelFilter {
ModelHitTestFilterCallback^ get ();
void set (ModelHitTestFilterCallback^ value);
}
member ModelFilter : ModelHitTestFilterCallback with get, set
function get ModelFilter () : ModelHitTestFilterCallback
function set ModelFilter (value : ModelHitTestFilterCallback)
Property Value
Type: Microsoft.Windows.Design.Interaction.ModelHitTestFilterCallback
A ModelHitTestFilterCallback that is used to filter the set of model items seen by the designer's hit test algorithm.
Remarks
If this property is set, the hit test algorithm will use this filter to determine hit testing of model items when the task has the focus.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace