ArcGIS API for WPF - Library Reference
Filter Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit Namespace > AttachmentEditor Class : Filter Property

Gets or sets a filter string that specifies the file types and descriptions to display in the System.Windows.Controls.OpenFileDialog.

Syntax

Visual Basic (Declaration) 
Public Property Filter As String
C# 
public string Filter {get; set;}

Property Value

A filter string that specifies the file types and descriptions to display in the OpenFileDialog. The default is System.String.Empty.

Exceptions

ExceptionDescription
System.ArgumentException The filter string does not contain at least one vertical bar (|).

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.