Fleet Mobile
Search Results for

    Show / Hide Table of Contents

    Class BaseObject

    可绑定对象基础类

    Inheritance
    object
    BindableObject
    BaseObject
    Derived
    PreferenceObject<T>
    Implements
    INotifyPropertyChanged
    ILoading
    Inherited Members
    BindableObject.BindingContextProperty
    BindableObject.ClearValue(BindableProperty)
    BindableObject.ClearValue(BindablePropertyKey)
    BindableObject.GetValue(BindableProperty)
    BindableObject.IsSet(BindableProperty)
    BindableObject.RemoveBinding(BindableProperty)
    BindableObject.SetBinding(BindableProperty, BindingBase)
    BindableObject.ApplyBindings()
    BindableObject.OnBindingContextChanged()
    BindableObject.OnPropertyChanged(string)
    BindableObject.OnPropertyChanging(string)
    BindableObject.UnapplyBindings()
    BindableObject.SetValue(BindableProperty, object)
    BindableObject.SetValue(BindablePropertyKey, object)
    BindableObject.CoerceValue(BindableProperty)
    BindableObject.CoerceValue(BindablePropertyKey)
    BindableObject.Dispatcher
    BindableObject.BindingContext
    BindableObject.PropertyChanged
    BindableObject.PropertyChanging
    BindableObject.BindingContextChanged
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Extension Methods
    UIExtensions.AppThemeBinding<T, K>(T, BindableProperty, K, K)
    UIExtensions.Binding<T>(T, BindableProperty, BindingBase)
    UIExtensions.Binding<T, TSource, TProperty>(T, BindableProperty, Func<TSource, TProperty>, string, Action<TSource, TProperty>, BindingMode?, IValueConverter, object, string, TSource)
    UIExtensions.GridColumnSpan<T>(T, int)
    UIExtensions.GridColumn<T>(T, int)
    UIExtensions.GridRowSpan<T>(T, int)
    UIExtensions.GridRow<T>(T, int)
    Namespace: Fleet.Mobile.Containers
    Assembly: FleetMobile.dll
    Syntax
    public abstract class BaseObject : BindableObject, INotifyPropertyChanged, ILoading

    Constructors

    BaseObject()

    Declaration
    protected BaseObject()

    Fields

    IsLoadingProperty

    Declaration
    public static readonly BindableProperty IsLoadingProperty
    Field Value
    BindableProperty

    Properties

    IsLoading

    获取或设置当前对象是否为加载状态

    Declaration
    public bool IsLoading { get; set; }
    Property Value
    bool

    Methods

    CreateProperty<T, V>(string, T, BindingMode, Action<V, T>)

    根据返回类型、名称、默认值、默认绑定模式快速创建属性。

    Declaration
    protected static BindableProperty CreateProperty<T, V>(string name, T defaultValue = default, BindingMode defaultBindingMode = BindingMode.OneWay, Action<V, T> propertyChanged = null) where V : BindableObject
    Parameters
    string name

    属性名称

    T defaultValue

    属性初始值,默认为该类型的默认值

    BindingMode defaultBindingMode

    属性绑定模式,默认为 OneWay

    Action<V, T> propertyChanged

    属性变化时触发的回调函数,默认为 null

    Returns
    BindableProperty

    返回创建的属性

    Type Parameters
    T

    属性返回类型

    V

    所属类型

    In this article
    Back to top Generated by DocFX