SplitterPaneBase
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ClientScriptResource("Telerik.Web.UI.SplitterPaneBase", "Telerik.Web.UI.Splitter.RadSplitterScripts.js")]
public abstract class SplitterPaneBase : SplitterItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlSplitterItemSplitterPaneBase...
Derived Classes:
Implements:
Inherited Members
Constructors
protected SplitterPaneBase()
Properties
Sets/gets the max height to which the pane can be resized
[ClientControlProperty]
public int MaxHeight { get; set; }
Sets/gets the max width to which the pane can be resized
[ClientControlProperty]
public int MaxWidth { get; set; }
Sets/gets the min height to which the pane can be resized
[ClientControlProperty]
public virtual int MinHeight { get; set; }
Sets/gets the min width to which the pane can be resized
[ClientControlProperty]
public virtual int MinWidth { get; set; }
[Obsolete("This property is now obsolete. Please use the OnClientCollapsing property instead.", false)]
public string OnClientBeforeCollapse { get; set; }
[Obsolete("This property is now obsolete. Please use the OnClientExpanding property instead.", false)]
public string OnClientBeforeExpand { get; set; }
[Obsolete("This property is now obsolete. Please use the OnClientResizing property instead.", false)]
public string OnClientBeforeResize { get; set; }
Gets or sets a value indicating the client-side event handler that is called when the RadPane is collapsed.
[ClientControlEvent]
[ClientPropertyName("collapsed")]
public string OnClientCollapsed { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the pane object that raised the event
- args
This event cannot be cancelled.
Gets or sets a value indicating the client-side event handler that is called before the RadPane is collapsed.
[ClientControlEvent]
[ClientPropertyName("collapsing")]
public string OnClientCollapsing { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the pane object that raised the event
- args
This event can be cancelled.
Gets or sets a value indicating the client-side event handler that is called when the RadPane is expanded.
[ClientControlEvent]
[ClientPropertyName("expanded")]
public string OnClientExpanded { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the pane object that raised the event
- args
This event cannot be cancelled.
Gets or sets a value indicating the client-side event handler that is called before the RadPane is expanded.
[ClientControlEvent]
[ClientPropertyName("expanding")]
public string OnClientExpanding { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the pane object that raised the event
- args
This event can be cancelled.
Gets or sets a value indicating the client-side event handler that is called when the RadPane is resized.
[ClientControlEvent]
[ClientPropertyName("resized")]
public string OnClientResized { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the pane object that raised the event
- args with the following methods:
- get_oldWidth - the width of the pane before the resize
- get_oldHeight - the height of the pane before the resize
This event cannot be cancelled.
Gets or sets a value indicating the client-side event handler that is called before the RadPane is resized.
[ClientControlEvent]
[ClientPropertyName("resizing")]
public string OnClientResizing { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the event object
- args with the following methods:
- get_delta - the delta with which the pane will be resized
- get_resizeDirection - the direction in which the pane will be resized. You can use the Telerik.Web.UI.SplitterDirection hash to check the direction. The 2 possible values are : Forward and Backward
This event can be cancelled.
Sets/gets whether the scrolls position will be persisted acrosss postbacks
[ClientControlProperty]
public bool PersistScrollPosition { get; set; }
Sets/gets whether the content of the pane will get a scrollbars when it exceeds the pane area size
[ClientControlProperty]
public SplitterPaneScrolling Scrolling { get; set; }
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
Loads the client state data
protected override void LoadClientState(Dictionary<string, object> clientState)
Overrides: