Table of Contents

Class FileNameFilterAttribute

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Specifies the file name filter which determines the choices that appear in the file type selection box of a file dialog.

[AttributeUsage(AttributeTargets.Property)]
public sealed class FileNameFilterAttribute : Attribute, _Attribute
Inheritance
FileNameFilterAttribute
Implements
Inherited Members

Constructors

FileNameFilterAttribute(string)

Initializes a new instance of the FileNameFilterAttribute class with the specified file name filter.

public FileNameFilterAttribute(string filter)

Parameters

filter string

The file name filter string which determines the choices that appear in the file type selection box of a file dialog.

Properties

Filter

Gets the file name filter string used to determine the choices in the file type selection box of a file dialog.

public string Filter { get; }

Property Value

string