C# Класс Open.Core.UI.PanelResizerBase

Base class for resizing panels.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
IsInitialized bool

Открытые методы

Метод Описание
Initialize ( ) : void

Sets the panel up to be resizable.

Save ( ) : void

Persists the current size to storage.

Защищенные методы

Метод Описание
FireResized ( ) : void
GetCurrentSize ( ) : int

Gets the current size (on the appropriate X:Y plane given the deriving class).

GetHandles ( ) : string
GetRootContainer ( ) : jQueryObject
OnInitialize ( ) : void
OnResize ( ) : void
OnStarted ( ) : void
OnStopped ( ) : void
OnWindowResize ( ) : void
PanelResizerBase ( string cssSelector, string cookieKey ) : System

Constructor.

SetCurrentSize ( int size ) : void

Sets the current size (on the appropriate X:Y plane given the deriving class).

SetResizeOption ( string option, string value ) : void
ShrinkIfOverflowing ( int currentValue, int minValue, int maxValue, string cssAttribute ) : void

Приватные методы

Метод Описание
FireResizeStarted ( ) : void
FireResizeStopped ( ) : void
HandleEvent ( string eventName ) : void
LoadSize ( ) : void

Описание методов

FireResized() защищенный Метод

protected FireResized ( ) : void
Результат void

GetCurrentSize() защищенный абстрактный Метод

Gets the current size (on the appropriate X:Y plane given the deriving class).
protected abstract GetCurrentSize ( ) : int
Результат int

GetHandles() защищенный абстрактный Метод

protected abstract GetHandles ( ) : string
Результат string

GetRootContainer() защищенный Метод

protected GetRootContainer ( ) : jQueryObject
Результат jQueryObject

Initialize() публичный Метод

Sets the panel up to be resizable.
public Initialize ( ) : void
Результат void

OnInitialize() защищенный Метод

protected OnInitialize ( ) : void
Результат void

OnResize() защищенный Метод

protected OnResize ( ) : void
Результат void

OnStarted() защищенный Метод

protected OnStarted ( ) : void
Результат void

OnStopped() защищенный Метод

protected OnStopped ( ) : void
Результат void

OnWindowResize() защищенный Метод

protected OnWindowResize ( ) : void
Результат void

PanelResizerBase() защищенный Метод

Constructor.
protected PanelResizerBase ( string cssSelector, string cookieKey ) : System
cssSelector string The CSS selector used to retrieve the panel being resized.
cookieKey string The unique key to store the panel size within (null if saving not required).
Результат System

Save() публичный Метод

Persists the current size to storage.
public Save ( ) : void
Результат void

SetCurrentSize() защищенный абстрактный Метод

Sets the current size (on the appropriate X:Y plane given the deriving class).
protected abstract SetCurrentSize ( int size ) : void
size int The size value to set.
Результат void

SetResizeOption() защищенный Метод

protected SetResizeOption ( string option, string value ) : void
option string
value string
Результат void

ShrinkIfOverflowing() защищенный Метод

protected ShrinkIfOverflowing ( int currentValue, int minValue, int maxValue, string cssAttribute ) : void
currentValue int
minValue int
maxValue int
cssAttribute string
Результат void

Описание свойств

IsInitialized защищенное свойство

protected bool IsInitialized
Результат bool