Search Results for

    Show / Hide Table of Contents

    Class MapObservable

    Base class implementation of the System.ComponentModel.INotifyPropertyChanged interface

    Inheritance
    System.Object
    MapObservable
    RuntimeMap
    RuntimeMapGroup
    RuntimeMapLayer
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.MaestroAPI.Mapping
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public abstract class MapObservable : INotifyPropertyChanged

    Fields

    | Improve this Doc View Source

    _disableChangeTracking

    Indicates whether property change events will be raised

    Declaration
    protected bool _disableChangeTracking
    Field Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    ObservableSet<T>(T, T, Action<T>, String)

    If the specified old value is different from the new value, the specified setter is invoked and a System.ComponentModel.INotifyPropertyChanged.PropertyChanged event is raised

    Declaration
    protected virtual bool ObservableSet<T>(T oldValue, T newValue, Action<T> setter, string propertyName)
    Parameters
    Type Name Description
    T oldValue
    T newValue
    System.Action<T> setter
    System.String propertyName
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    OnPropertyChanged(String)

    Raises the PropertyChanged event

    Declaration
    protected virtual void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName
    | Improve this Doc View Source

    SetField<T>(ref T, T, String)

    Set the specified field with the specified value raising the PropertyChanged event

    Declaration
    protected bool SetField<T>(ref T field, T value, string propertyName)
    Parameters
    Type Name Description
    T field
    T value
    System.String propertyName
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    Events

    | Improve this Doc View Source

    PropertyChanged

    Occurs when a property changes

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng