Fleet Mobile
Search Results for

    Show / Hide Table of Contents

    Class DialogPopup<T>

    带有标题、关闭按钮的弹出对话框的基础类

    Inheritance
    object
    BindableObject
    Element
    StyleableElement
    NavigableElement
    VisualElement
    View
    Layout
    TemplatedView
    ContentView
    Popup
    Popup<T>
    Popup<T>
    DialogPopup<T>
    Implements
    INotifyPropertyChanged
    IEffectControlProvider
    IToolTipElement
    IContextFlyoutElement
    IAnimatable
    IViewController
    IVisualElementController
    IElementController
    IGestureController
    IGestureRecognizers
    IPropertyMapperView
    IHotReloadableView
    IReplaceableView
    ILayout
    ILayoutController
    IVisualTreeElement
    IContentView
    IView
    IElement
    ITransform
    IPadding
    ICrossPlatformLayout
    Inherited Members
    Popup<T>.TitleProperty
    Popup<T>.ContentMarginProperty
    Popup<T>.closeObject
    Popup<T>.ClosingAsync(object)
    Popup<T>.OnOpened()
    Popup<T>.Title
    Popup<T>.ContentMargin
    Popup<T>.CanBeDismissedByTappingOutsideOfPopup
    Popup<T>.ActionCommand
    Popup<T>.ContentMinimumWidthRequest
    Popup<T>.CloseAsync(T, CancellationToken)
    Popup.MarginProperty
    Popup.PaddingProperty
    Popup.HorizontalOptionsProperty
    Popup.VerticalOptionsProperty
    Popup.CanBeDismissedByTappingOutsideOfPopupProperty
    Popup.CloseAsync(CancellationToken)
    Popup.Margin
    Popup.Padding
    Popup.HorizontalOptions
    Popup.VerticalOptions
    Popup.Opened
    Popup.Closed
    ContentView.ContentProperty
    ContentView.OnBindingContextChanged()
    ContentView.Content
    TemplatedView.ControlTemplateProperty
    TemplatedView.LayoutChildren(double, double, double, double)
    TemplatedView.OnMeasure(double, double)
    TemplatedView.OnApplyTemplate()
    TemplatedView.OnChildRemoved(Element, int)
    TemplatedView.GetTemplateChild(string)
    TemplatedView.ResolveControlTemplate()
    TemplatedView.MeasureOverride(double, double)
    TemplatedView.OnSizeAllocated(double, double)
    TemplatedView.ArrangeOverride(Rect)
    TemplatedView.ControlTemplate
    Layout.IsClippedToBoundsProperty
    Layout.CascadeInputTransparentProperty
    Layout.ForceLayout()
    Layout.Measure(double, double, MeasureFlags)
    Layout.LayoutChildIntoBoundingRegion(VisualElement, Rect)
    Layout.LowerChild(View)
    Layout.RaiseChild(View)
    Layout.InvalidateLayout()
    Layout.OnChildMeasureInvalidated(object, EventArgs)
    Layout.OnChildMeasureInvalidated()
    Layout.ShouldInvalidateOnChildAdded(View)
    Layout.ShouldInvalidateOnChildRemoved(View)
    Layout.UpdateChildrenLayout()
    Layout.CrossPlatformMeasure(double, double)
    Layout.CrossPlatformArrange(Rect)
    Layout.IsClippedToBounds
    Layout.CascadeInputTransparent
    Layout.LayoutChanged
    View.propertyMapper
    View.ChangeVisualState()
    View.GetChildElements(Point)
    View.GetRendererOverrides<T>()
    View.GestureController
    View.GestureRecognizers
    VisualElement.NavigationProperty
    VisualElement.StyleProperty
    VisualElement.InputTransparentProperty
    VisualElement.IsEnabledProperty
    VisualElement.XProperty
    VisualElement.YProperty
    VisualElement.AnchorXProperty
    VisualElement.AnchorYProperty
    VisualElement.TranslationXProperty
    VisualElement.TranslationYProperty
    VisualElement.WidthProperty
    VisualElement.HeightProperty
    VisualElement.RotationProperty
    VisualElement.RotationXProperty
    VisualElement.RotationYProperty
    VisualElement.ScaleProperty
    VisualElement.ScaleXProperty
    VisualElement.ScaleYProperty
    VisualElement.ClipProperty
    VisualElement.VisualProperty
    VisualElement.IsVisibleProperty
    VisualElement.OpacityProperty
    VisualElement.BackgroundColorProperty
    VisualElement.BackgroundProperty
    VisualElement.BehaviorsProperty
    VisualElement.TriggersProperty
    VisualElement.WidthRequestProperty
    VisualElement.HeightRequestProperty
    VisualElement.MinimumWidthRequestProperty
    VisualElement.MinimumHeightRequestProperty
    VisualElement.MaximumWidthRequestProperty
    VisualElement.MaximumHeightRequestProperty
    VisualElement.IsFocusedProperty
    VisualElement.FlowDirectionProperty
    VisualElement.WindowProperty
    VisualElement.ShadowProperty
    VisualElement.ZIndexProperty
    VisualElement.BatchBegin()
    VisualElement.BatchCommit()
    VisualElement.Focus()
    VisualElement.Measure(double, double)
    VisualElement.Unfocus()
    VisualElement.InvalidateMeasure()
    VisualElement.OnChildAdded(Element)
    VisualElement.OnChildrenReordered()
    VisualElement.SizeAllocated(double, double)
    VisualElement.RefreshIsEnabledProperty()
    VisualElement.Arrange(Rect)
    VisualElement.Layout(Rect)
    VisualElement.InvalidateMeasureOverride()
    VisualElement.MapBackgroundColor(IViewHandler, IView)
    VisualElement.MapBackgroundImageSource(IViewHandler, IView)
    VisualElement.Visual
    VisualElement.FlowDirection
    VisualElement.Window
    VisualElement.AnchorX
    VisualElement.AnchorY
    VisualElement.BackgroundColor
    VisualElement.Background
    VisualElement.Behaviors
    VisualElement.Bounds
    VisualElement.Height
    VisualElement.HeightRequest
    VisualElement.InputTransparent
    VisualElement.IsEnabled
    VisualElement.IsEnabledCore
    VisualElement.IsFocused
    VisualElement.IsVisible
    VisualElement.MinimumHeightRequest
    VisualElement.MinimumWidthRequest
    VisualElement.MaximumHeightRequest
    VisualElement.MaximumWidthRequest
    VisualElement.Opacity
    VisualElement.Rotation
    VisualElement.RotationX
    VisualElement.RotationY
    VisualElement.Scale
    VisualElement.ScaleX
    VisualElement.ScaleY
    VisualElement.TranslationX
    VisualElement.TranslationY
    VisualElement.Triggers
    VisualElement.Width
    VisualElement.WidthRequest
    VisualElement.X
    VisualElement.Y
    VisualElement.Clip
    VisualElement.Resources
    VisualElement.Frame
    VisualElement.Handler
    VisualElement.Shadow
    VisualElement.ZIndex
    VisualElement.DesiredSize
    VisualElement.IsLoaded
    VisualElement.ChildrenReordered
    VisualElement.Focused
    VisualElement.MeasureInvalidated
    VisualElement.SizeChanged
    VisualElement.Unfocused
    VisualElement.Loaded
    VisualElement.Unloaded
    NavigableElement.OnParentSet()
    NavigableElement.Navigation
    StyleableElement.Style
    StyleableElement.StyleClass
    StyleableElement.class
    Element.AutomationIdProperty
    Element.ClassIdProperty
    Element.InsertLogicalChild(int, Element)
    Element.AddLogicalChild(Element)
    Element.RemoveLogicalChild(Element)
    Element.ClearLogicalChildren()
    Element.FindByName(string)
    Element.RemoveDynamicResource(BindableProperty)
    Element.SetDynamicResource(BindableProperty, string)
    Element.OnPropertyChanged(string)
    Element.OnParentChanging(ParentChangingEventArgs)
    Element.OnParentChanged()
    Element.OnHandlerChanging(HandlerChangingEventArgs)
    Element.OnHandlerChanged()
    Element.MapAutomationPropertiesIsInAccessibleTree(IElementHandler, Element)
    Element.MapAutomationPropertiesExcludedWithChildren(IElementHandler, Element)
    Element.AutomationId
    Element.ClassId
    Element.Effects
    Element.Id
    Element.StyleId
    Element.Parent
    Element.ChildAdded
    Element.ChildRemoved
    Element.DescendantAdded
    Element.DescendantRemoved
    Element.ParentChanging
    Element.ParentChanged
    Element.HandlerChanging
    Element.HandlerChanged
    BindableObject.BindingContextProperty
    BindableObject.ClearValue(BindableProperty)
    BindableObject.ClearValue(BindablePropertyKey)
    BindableObject.GetValue(BindableProperty)
    BindableObject.IsSet(BindableProperty)
    BindableObject.RemoveBinding(BindableProperty)
    BindableObject.SetBinding(BindableProperty, BindingBase)
    BindableObject.ApplyBindings()
    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.BackgroundColorBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    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.EnabledBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    UIExtensions.GridColumnSpan<T>(T, int)
    UIExtensions.GridColumn<T>(T, int)
    UIExtensions.GridRowSpan<T>(T, int)
    UIExtensions.GridRow<T>(T, int)
    UIExtensions.MarginBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    UIExtensions.Tap<T>(T, EventHandler<TappedEventArgs>)
    UIExtensions.TranslationXBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    UIExtensions.VisibleBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    UIExtensions.WidthRequestBinding<T, TSource, TProperty>(T, Func<TSource, TProperty>, string, IValueConverter, object, string, TSource)
    Namespace: Fleet.Mobile.Containers.Popup
    Assembly: FleetMobile.dll
    Syntax
    public class DialogPopup<T> : Popup<T>, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
    Type Parameters
    T

    对话框返回结果类型

    Constructors

    DialogPopup()

    Declaration
    public DialogPopup()

    Fields

    IsClosableProperty

    Declaration
    public static readonly BindableProperty IsClosableProperty
    Field Value
    BindableProperty

    Properties

    ContentVerticalOptions

    获取对话框垂直对齐方式,默认为底部对齐

    Declaration
    protected override LayoutOptions ContentVerticalOptions { get; }
    Property Value
    LayoutOptions

    Overrides
    Popup<T>.ContentVerticalOptions

    CornerRadius

    获取圆角弧度,默认为 16

    Declaration
    protected override CornerRadius CornerRadius { get; }
    Property Value
    CornerRadius

    Overrides
    Popup<T>.CornerRadius

    IsClosable

    获取或设置对话框是否有关闭按钮

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

    In this article
    Back to top Generated by DocFX