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
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7
See Also