Class FileDialogsHelper
Contains helper methods for file dialogs.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Utilities
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public static class FileDialogsHelper : Object
Methods
GetOpenFileDialogFilter()
Gets a string used for setting filter in OpenFileDialogs.
Declaration
public static string GetOpenFileDialogFilter()
Returns
System.String
The filter string. |
GetOpenFileDialogFilter(IEnumerable<IWorkbookFormatProvider>)
Gets a string used for setting filter in OpenFileDialogs.
Declaration
public static string GetOpenFileDialogFilter(IEnumerable<IWorkbookFormatProvider> formatProviders)
Parameters
System.Collections.Generic.IEnumerable<Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider>
formatProviders
The format providers to be used. |
Returns
System.String
The filter string. |
GetSaveFileDialogFilter()
Gets a string used for setting filter in SaveFileDialogs.
Declaration
public static string GetSaveFileDialogFilter()
Returns
System.String
The filter string. |
GetSaveFileDialogFilter(IEnumerable<IWorkbookFormatProvider>)
Gets a string used for setting filter in SaveFileDialogs.
Declaration
public static string GetSaveFileDialogFilter(IEnumerable<IWorkbookFormatProvider> formatProviders)
Parameters
System.Collections.Generic.IEnumerable<Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider>
formatProviders
The format providers to be used. |
Returns
System.String
The filter string. |