Class SettingsNode
Base class that support Clone() Clone and System.
Namespace: Telerik.Pivot.Core
Assembly: Telerik.Pivot.Core.dll
Syntax
public abstract class SettingsNode : Cloneable, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable
Constructors
SettingsNode()
Declaration
protected SettingsNode()
Properties
Parent
Gets the Settings
Declaration
public SettingsNode Parent { get; }
Property Value
Methods
AddSettingsChild(SettingsNode)
Set this Settingschild
and becomes a target for the child
's change notifications.
Declaration
protected void AddSettingsChild(SettingsNode child)
Parameters
Settings The nested Settings |
BeginEdit()
Enters the Settings
Declaration
public IDisposable BeginEdit()
Returns
System. An edit scope token that you must System. |
Implements
BeginInit()
Declaration
public void BeginInit()
EndInit()
Declaration
public void EndInit()
GetService(Type)
Declaration
public object GetService(Type serviceType)
Parameters
System.
|
Returns
System.
|
GetServiceOverride(Type)
Provides services available by this SettingsNode.
Other services may be available in its Parent Settings
Declaration
protected virtual object GetServiceOverride(Type serviceType)
Parameters
System. The type of the requested service. |
Returns
System. A service instance if available, null otherwise. |
NotifyServicesChanged()
NotifySettingsChanged(SettingsChangedEventArgs)
Will recursively notify all Settings
Declaration
protected void NotifySettingsChanged(SettingsChangedEventArgs args)
Parameters
Settings Settings |
OnEnteredEditScope()
Override to provide custom behavior for derived classes when editing begins.
Settings
Declaration
protected virtual void OnEnteredEditScope()
OnExitingEditScope()
Override to provide custom behavior for derived classes when finishing editing.
Settings
Declaration
protected virtual void OnExitingEditScope()
OnPropertyChanged(String)
Raises this object's Property
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System. The property that has a new value. |
OnSettingsChanged(SettingsChangedEventArgs)
Invoked when a SettingsChangedEventArgs reaches the Settings
Declaration
protected virtual void OnSettingsChanged(SettingsChangedEventArgs args)
Parameters
Settings The Settings |
RemoveSettingsChild(SettingsNode)
Unsets the parent initiated with Addchild
.
Declaration
protected void RemoveSettingsChild(SettingsNode child)
Parameters
Settings The nested Settings |
Events
PropertyChanged
Invoked when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|
ServicesChanged
Invoked when new services are available or existing services are removed.
Declaration
public event EventHandler<EventArgs> ServicesChanged
Event Type
System.
|
SettingsChanged
Invoked when this or one of the children is changed.
Declaration
public event EventHandler<SettingsChangedEventArgs> SettingsChanged
Event Type
System.
|