RadBrowseEditor
Represents a browser control box. The RadBrowseEditor class is a simple wrapper for the RadBrowseEditorElement class. The RadBrowseEditor acts to transfer events to and from its corresponding RadBrowseEditorElement. The RadBrowseEditorElement which is essentially the RadBrowseEditor control may be nested in other telerik controls.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TelerikToolboxCategory("Editors")]
[DefaultBindingProperty("Value")]
public class RadBrowseEditor : RadEditorControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadEditorControlRadBrowseEditor...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadBrowseEditor class.
public RadBrowseEditor()
Properties
Gets or sets whether the browse editor control is auto-sized to fit its content.
[Browsable(true)]
public override bool AutoSize { get; set; }
Overrides:
Gets the dialog component that will open upon pressing the browse button. The actual type depends on the DialogType property.
public Component BrowseDialog { get; }
Gets the RadBrowseEditorElement that provides the core functionality of this control.
[Browsable(false)]
public RadBrowseEditorElement BrowseElement { get; }
Gets the default size for the browse editor control.
protected override Size DefaultSize { get; }
Overrides:
Gets or sets the type of dialog to be opened when the browse button is pressed.
[Browsable(true)]
public virtual BrowseEditorDialogType DialogType { get; set; }
Gets or sets a value indicating whether users can input text directly into the text field.
[Browsable(true)]
public bool ReadOnly { get; set; }
Gets or sets the value of the browse editor. This represents the selected file path, folder path, or font name depending on the DialogType.
[Browsable(true)]
public string Value { get; set; }
Methods
Creates the child items for the browse editor control.
protected override void CreateChildItems(RadElement parent)
The parent element to add child items to.
Overrides:
Creates the RadBrowseEditorElement for this control.
protected virtual RadBrowseEditorElement CreateEditorElement()
A new instance of RadBrowseEditorElement.
Disposes resources and unwires event handlers.
protected override void Dispose(bool disposing)
True if disposing managed resources, false otherwise.
Overrides:
Processes auto size changed events and adjusts the stretch properties accordingly.
protected override void ProcessAutoSizeChanged(bool value)
True if auto sizing is enabled, false otherwise.
Overrides:
Resets the background color theme overrides for the browse editor element.
protected override void ResetBackColorThemeOverrides()
Overrides:
Resets the forecolor theme overrides for the browse editor element.
protected override void ResetForeColorThemeOverrides()
Overrides:
Sets the background color theme overrides for the browse editor element.
protected override void SetBackColorThemeOverrides()
Overrides:
Sets the forecolor theme overrides for the browse editor element.
protected override void SetForeColorThemeOverrides()
Overrides:
Unwires the event handlers for the browse editor element.
protected virtual void UnwireEvents()
Wires the event handlers for the browse editor element.
protected virtual void WireEvents()
Events
Fires after the dialog window is closed.
public event DialogClosedEventHandler DialogClosed
Fires when the ReadOnly property value is changed.
public event EventHandler ReadOnlyChanged
Fires after the editor value is changed.
public event EventHandler ValueChanged
Fires right before the value is changed. Cancelable event.
public event ValueChangingEventHandler ValueChanging