Class
RadDockService

Defines base for all services registered with a RadDock instance.

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

cs-api-definition
public abstract class RadDockService : RadDockObject, IDisposable, INotifyPropertyChanged, INotifyPropertyChangingEx

Inheritance: objectRadDockObjectRadDockService

Derived Classes: ContextMenuServiceRedockServiceStateService

Implements: IDisposableINotifyPropertyChangedINotifyPropertyChangingEx

Inherited Members RadDockObject.Dispose()RadDockObject.Dispose(bool)RadDockObject.DisposeManagedResources()RadDockObject.DisposeUnmanagedResources()RadDockObject.OnPropertyChanging(string)RadDockObject.OnPropertyChanged(string)RadDockObject.ShouldSerializeProperty(string)RadDockObject.EventsRadDockObject.DisposingRadDockObject.IsDisposedRadDockObject.DisposedRadDockObject.PropertyChangingRadDockObject.PropertyChanged

Constructors

RadDockService()

Initializes a new RadDockService instance.

Declaration

cs-api-definition
public RadDockService()

Properties

DockManager

Gets the RadDock instance this service is registered with.

Declaration

cs-api-definition
public RadDock DockManager { get; }

Property Value

RadDock

DockManagerDesignMode

Determines whether the associated RadDock instance (if any) is in design mode.

Declaration

cs-api-definition
protected bool DockManagerDesignMode { get; }

Property Value

bool

Enabled

Determines whether the Service is enabled (may be started). If the Service is working and its is disabled, it will end its current operation.

Declaration

cs-api-definition
public bool Enabled { get; set; }

Property Value

bool

Methods

CanOperate()

Determines whether the service is operational and may perform actions.

Declaration

cs-api-definition
public virtual bool CanOperate()

Returns

bool

OnDockManagerChanged()

The service gets notified that its current dock manager has changed.

Declaration

cs-api-definition
protected virtual void OnDockManagerChanged()

OnEnabledChanged()

Notifies for a change in the Enabled state.

Declaration

cs-api-definition
protected virtual void OnEnabledChanged()