|
@@ -65,18 +65,18 @@ namespace Avalonia.Controls.Primitives
|
|
|
public static readonly StyledProperty<PopupGravity> PlacementGravityProperty =
|
|
public static readonly StyledProperty<PopupGravity> PlacementGravityProperty =
|
|
|
AvaloniaProperty.Register<Popup, PopupGravity>(nameof(PlacementGravity));
|
|
AvaloniaProperty.Register<Popup, PopupGravity>(nameof(PlacementGravity));
|
|
|
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- /// Defines the <see cref="PlacementMode"/> property.
|
|
|
|
|
- /// </summary>
|
|
|
|
|
- [Obsolete("Use the Placement property instead.")]
|
|
|
|
|
- public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty;
|
|
|
|
|
-
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Defines the <see cref="Placement"/> property.
|
|
/// Defines the <see cref="Placement"/> property.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly StyledProperty<PlacementMode> PlacementProperty =
|
|
public static readonly StyledProperty<PlacementMode> PlacementProperty =
|
|
|
AvaloniaProperty.Register<Popup, PlacementMode>(nameof(Placement), defaultValue: PlacementMode.Bottom);
|
|
AvaloniaProperty.Register<Popup, PlacementMode>(nameof(Placement), defaultValue: PlacementMode.Bottom);
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// Defines the <see cref="PlacementMode"/> property.
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [Obsolete("Use the Placement property instead.")]
|
|
|
|
|
+ public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty;
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Defines the <see cref="PlacementRect"/> property.
|
|
/// Defines the <see cref="PlacementRect"/> property.
|
|
|
/// </summary>
|
|
/// </summary>
|