Class RadBrowseEditorElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadBrowseEditorElement : RadTextBoxElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RadBrowseEditorElement()
Properties
BrowseButton
Gets the RadButtonElement that opens the Dialog.
Declaration
public BrowseEditorButton BrowseButton { get; }
Property Value
BrowseEditorButton
|
BrowseDialog
Gets the BrowseDialog that will open upon pressing the browse button.
Declaration
public Component BrowseDialog { get; }
Property Value
System.ComponentModel.Component
|
Dialog
Use the BrowseDialog property and and cast it to the actual dialog type.
Declaration
[Obsolete("Use the BrowseDialog property and and cast it to the actual dialog type.")]
public CommonDialog Dialog { get; }
Property Value
System.Windows.Forms.CommonDialog
|
DialogType
Gets or sets the type of dialog to be opened when the browse button is pressed.
Declaration
public virtual BrowseEditorDialogType DialogType { get; set; }
Property Value
BrowseEditorDialogType
|
ReadOnly
Determines if users can input text directly into the text field.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
Value
Gets the value of the editor.
Declaration
public virtual string Value { get; set; }
Property Value
System.String
|
Methods
ChangeDialogType(BrowseEditorDialogType)
Declaration
protected virtual void ChangeDialogType(BrowseEditorDialogType dialogType)
Parameters
BrowseEditorDialogType
dialogType
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDialogButtonElement()
Creates the BrowseEditorButton that will be placed in the browse editor and will be used to open the Dialog.
Declaration
protected virtual BrowseEditorButton CreateDialogButtonElement()
Returns
BrowseEditorButton
|
CreateFolderBrowserDialog()
Creates the System.Windows.Forms.FolderBrowserDialog that will be opened when the browse button is clicked.
Declaration
protected virtual FolderBrowserDialog CreateFolderBrowserDialog()
Returns
System.Windows.Forms.FolderBrowserDialog
A System.Windows.Forms.FolderBrowserDialog. |
CreateFontDialog()
Declaration
protected virtual FontDialog CreateFontDialog()
Returns
System.Windows.Forms.FontDialog
|
CreateOpenFileDialog()
Creates the System.Windows.Forms.OpenFileDialog that will be opened when the browse button is clicked.
Declaration
protected virtual OpenFileDialog CreateOpenFileDialog()
Returns
System.Windows.Forms.OpenFileDialog
A System.Windows.Forms.OpenFileDialog. |
CreateRadFolderBrowserDialog()
Creates the RadOpenFolderDialog that will be opened when the browse button is clicked.
Declaration
protected virtual RadOpenFolderDialog CreateRadFolderBrowserDialog()
Returns
RadOpenFolderDialog |
CreateRadOpenFileDialog()
Creates the RadOpenFileDialog that will be opened when the browse button is clicked.
Declaration
protected virtual RadOpenFileDialog CreateRadOpenFileDialog()
Returns
RadOpenFileDialog |
CreateRadSaveFileDialog()
Creates the RadSaveFileDialog that will be opened when the browse button is clicked.
Declaration
protected virtual RadSaveFileDialog CreateRadSaveFileDialog()
Returns
RadSaveFileDialog |
CreateSaveFileDialog()
Creates the System.Windows.Forms.SaveFileDialog that will be opened when the browse button is clicked.
Declaration
protected virtual SaveFileDialog CreateSaveFileDialog()
Returns
System.Windows.Forms.SaveFileDialog
A System.Windows.Forms.SaveFileDialog. |
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeDialog()
Declaration
protected virtual void InitializeDialog()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnBrowseButtonClick(EventArgs)
Fires when the BrowseEditorButton is clicked.
Declaration
protected virtual void OnBrowseButtonClick(EventArgs e)
Parameters
System.EventArgs
e
The event arguments. |
OnDialogClosed(DialogClosedEventArgs)
Fires after the dialog is closed.
Declaration
protected virtual void OnDialogClosed(DialogClosedEventArgs e)
Parameters
DialogClosedEventArgs
e
The event arguments. |
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs args)
Parameters
RadPropertyChangingEventArgs
args
|
Overrides
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnTextChanging(TextChangingEventArgs)
Declaration
protected override void OnTextChanging(TextChangingEventArgs e)
Parameters
TextChangingEventArgs
e
|
Overrides
OnValueChanged(EventArgs)
Fires right after the editor value is changed.
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System.EventArgs
e
The event arguments. |
OnValueChanging(ValueChangingEventArgs)
Fires right before the editor value is changed.
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs
e
The event arguments. |
SaveValueFromDialog()
Declaration
protected virtual void SaveValueFromDialog()
SetEditorValue(String)
Sets the value of the editor.
Declaration
protected virtual void SetEditorValue(string newValue)
Parameters
System.String
newValue
The new value to set. |
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()
Events
DialogClosed
Fires after the dialog window is closed.
Declaration
public event DialogClosedEventHandler DialogClosed
Event Type
DialogClosedEventHandler
|
ValueChanged
Fires after the editor value is changed.
Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler
|
ValueChanging
Fires right before the value is changed. Cancelable event.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
ValueChangingEventHandler
|