Skip to content

Instantly share code, notes, and snippets.

@maxkatz6
Last active April 25, 2024 04:05
Show Gist options
  • Save maxkatz6/9feb6029ef9a412fdab64ded4d7e2033 to your computer and use it in GitHub Desktop.
Save maxkatz6/9feb6029ef9a412fdab64ded4d7e2033 to your computer and use it in GitHub Desktop.
Avalonia 11.1.0-beta2 API Diff
diff --git a/baseline/net8.0-android34.0/Avalonia.Android.dll872095394.api.cs b/target/net8.0-android34.0/Avalonia.Android.dll659161654.api.cs
index 9b17c5b..057b66f 100644
--- a/baseline/net8.0-android34.0/Avalonia.Android.dll872095394.api.cs
+++ b/target/net8.0-android34.0/Avalonia.Android.dll659161654.api.cs
@@ -53,57 +53,62 @@ namespace Avalonia.Android
public void Destroy() { }
}
- public partial class AvaloniaMainActivity : IAvaloniaActivity, IActivityResultHandler, IActivityNavigationService
+ public partial class AvaloniaActivity : IAvaloniaActivity, IActivityResultHandler, IActivityNavigationService
{
- public AvaloniaMainActivity() { }
+ public AvaloniaActivity() { }
- public global::System.Action<global::System.Int32, global::Android.App.Result, global::Android.Content.Intent> ActivityResult { get { throw null; } set { } }
+ public global::System.Action<global::System.Int32?, global::Android.App.Result?, global::Android.Content.Intent?>? ActivityResult { get { throw null; } set { } }
+
+ public global::System.Object? Content { get { throw null; } set { } }
public global::System.Action<global::System.Int32, global::System.String[], global::Android.Content.PM.Permission[]> RequestPermissionsResult { get { throw null; } set { } }
- public event global::System.EventHandler<AndroidBackRequestedEventArgs> BackRequested { add { } remove { } }
+ public event global::System.EventHandler<AndroidBackRequestedEventArgs>? BackRequested { add { } remove { } }
- protected override void OnActivityResult(global::System.Int32 requestCode, global::Android.App.Result resultCode, global::Android.Content.Intent data) { }
+ protected override void OnActivityResult(global::System.Int32? requestCode, global::Android.App.Result? resultCode, global::Android.Content.Intent? data) { }
public override void OnBackPressed() { }
- protected override void OnCreate(global::Android.OS.Bundle savedInstanceState) { }
+ protected override void OnCreate(global::Android.OS.Bundle? savedInstanceState) { }
+
+ protected override void OnDestroy() { }
public override void OnRequestPermissionsResult(global::System.Int32 requestCode, global::System.String[] permissions, global::Android.Content.PM.Permission[] grantResults) { }
+ protected override void OnResume() { }
+
protected override void OnStart() { }
protected override void OnStop() { }
}
- public abstract partial class AvaloniaMainActivity<TApp> : AvaloniaMainActivity where TApp : Avalonia.Application, new()
+ public partial class AvaloniaMainActivity : AvaloniaActivity
{
- public global::System.Object? Content { get { throw null; } set { } }
-
- protected Avalonia.AppBuilder CreateAppBuilder() { throw null; }
+ protected virtual Avalonia.AppBuilder CreateAppBuilder() { throw null; }
protected virtual Avalonia.AppBuilder CustomizeAppBuilder(Avalonia.AppBuilder builder) { throw null; }
- protected override void OnCreate(global::Android.OS.Bundle savedInstanceState) { }
-
- protected override void OnDestroy() { }
+ public override void OnCreate(global::Android.OS.Bundle? savedInstanceState, global::Android.OS.PersistableBundle? persistentState) { }
+ }
- protected override void OnResume() { }
+ public partial class AvaloniaMainActivity<TApp> : AvaloniaMainActivity where TApp : Avalonia.Application, new()
+ {
+ protected override Avalonia.AppBuilder CreateAppBuilder() { throw null; }
}
diff --git a/baseline/netstandard2.0/Avalonia.Base.dll1605731160.api.cs b/target/netstandard2.0/Avalonia.Base.dll1650169853.api.cs
index 744ae74..fd338be 100644
--- a/baseline/netstandard2.0/Avalonia.Base.dll1605731160.api.cs
+++ b/target/netstandard2.0/Avalonia.Base.dll1650169853.api.cs
@@ -230,6 +230,8 @@ namespace Avalonia
where TOwner : AvaloniaObject { throw null; }
public override System.String ToString() { throw null; }
+
+ public void Unregister(System.Type type) { }
}
public abstract partial class AvaloniaPropertyChangedEventArgs
@@ -285,6 +287,8 @@ namespace Avalonia
public System.Nullable<System.Boolean> EnableDataValidation { get { throw null; } }
+ public void Freeze() { }
+
public abstract AvaloniaPropertyMetadata GenerateTypeSafeMetadata();
public virtual void Merge(AvaloniaPropertyMetadata baseMetadata, AvaloniaProperty property) { }
}
@@ -320,6 +324,8 @@ namespace Avalonia
public void Register(System.Type type, AvaloniaProperty property) { }
public void RegisterAttached(System.Type type, AvaloniaProperty property) { }
+
+ public System.Boolean UnregisterByModule(System.Collections.Generic.IEnumerable<System.Type> types) { throw null; }
}
public abstract partial class AvaloniaProperty<TValue> : AvaloniaProperty
@@ -729,6 +735,8 @@ namespace Avalonia
public override System.String ToString() { throw null; }
+ public static System.Boolean? TryParse(System.String? source, out PixelSize? result) { throw null; }
+
public PixelSize WithHeight(System.Int32 height) { throw null; }
public PixelSize WithWidth(System.Int32 width) { throw null; }
@@ -2504,6 +2512,11 @@ namespace Avalonia.Controls
public void Set(System.String name, System.Boolean value) { }
}
+ public partial interface IDeferredContent
+ {
+ System.Object? Build(System.IServiceProvider? serviceProvider);
+ }
+
[NotClientImplementable]
public partial interface INameScope
{
@@ -2644,12 +2657,16 @@ namespace Avalonia.Controls
public void Add(System.Object key, System.Object? value) { }
+ public void AddDeferred(System.Object key, IDeferredContent deferredContent) { }
+
public void AddDeferred(System.Object key, System.Func<System.IServiceProvider?, System.Object?> factory) { }
public void Clear() { }
public System.Boolean ContainsKey(System.Object key) { throw null; }
+ public void EnsureCapacity(System.Int32 capacity) { }
+
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.Object, System.Object?>> GetEnumerator() { throw null; }
protected sealed override void OnAddOwner(IResourceHost owner) { }
@@ -3159,6 +3176,15 @@ namespace Avalonia.Data.Converters
public System.Object? ConvertBack(System.Object? value, System.Type targetType, System.Object? parameter, System.Globalization.CultureInfo culture) { throw null; }
}
+ public partial class FuncValueConverter<TIn, TParam, TOut> : IValueConverter
+ {
+ public FuncValueConverter(System.Func<TIn?, TParam?, TOut> convert) { }
+
+ public System.Object? Convert(System.Object? value, System.Type targetType, System.Object? parameter, System.Globalization.CultureInfo culture) { throw null; }
+
+ public System.Object? ConvertBack(System.Object? value, System.Type targetType, System.Object? parameter, System.Globalization.CultureInfo culture) { throw null; }
+ }
+
public partial interface IMultiValueConverter
{
System.Object? Convert(System.Collections.Generic.IList<System.Object?> values, System.Type targetType, System.Object? parameter, System.Globalization.CultureInfo culture);
@@ -3172,8 +3198,10 @@ namespace Avalonia.Data.Converters
public static partial class ObjectConverters
{
+ public static readonly IValueConverter Equal;
public static readonly IValueConverter IsNotNull;
public static readonly IValueConverter IsNull;
+ public static readonly IValueConverter NotEqual;
}
public static partial class StringConverters
@@ -3940,8 +3968,14 @@ namespace Avalonia.Input
public static partial class InputExtensions
{
+ public static System.Collections.Generic.IEnumerable<IInputElement> GetInputElementsAt(this IInputElement element, Point p, System.Boolean enabledElementsOnly = true) { throw null; }
+
public static System.Collections.Generic.IEnumerable<IInputElement> GetInputElementsAt(this IInputElement element, Point p) { throw null; }
+ public static IInputElement? InputHitTest(this IInputElement element, Point p, System.Boolean enabledElementsOnly = true) { throw null; }
+
+ public static IInputElement? InputHitTest(this IInputElement element, Point p, System.Func<Visual, System.Boolean> filter, System.Boolean enabledElementsOnly = true) { throw null; }
+
public static IInputElement? InputHitTest(this IInputElement element, Point p, System.Func<Visual, System.Boolean> filter) { throw null; }
public static IInputElement? InputHitTest(this IInputElement element, Point p) { throw null; }
@@ -5801,6 +5835,7 @@ namespace Avalonia.Logging
public const System.String Platform = "Platform";
public const System.String Property = "Property";
public const System.String Visual = "Visual";
+ public const System.String VncPlatform = "VncPlatform";
public const System.String Win32Platform = "Win32Platform";
public const System.String X11Platform = "X11Platform";
}
@@ -10927,6 +10962,10 @@ namespace Avalonia.Platform
public static System.Collections.Generic.IEnumerable<System.Uri> GetAssets(System.Uri uri, System.Uri? baseUri) { throw null; }
+ public static void InvalidateAssemblyCache() { }
+
+ public static void InvalidateAssemblyCache(System.String name) { }
+
public static System.IO.Stream Open(System.Uri uri, System.Uri? baseUri = null) { throw null; }
public static (System.IO.Stream, System.Reflection.Assembly) OpenAndGetAssembly(System.Uri uri, System.Uri? baseUri = null) { throw null; }
@@ -11271,6 +11329,8 @@ namespace Avalonia.Platform
public System.Int32 BitsPerPixel { get { throw null; } }
+ public static PixelFormat Rgb32 { get { throw null; } }
+
public static PixelFormat Rgb565 { get { throw null; } }
public static PixelFormat Rgba8888 { get { throw null; } }
@@ -11292,6 +11352,8 @@ namespace Avalonia.Platform
{
public static PixelFormat Bgr24 { get { throw null; } }
+ public static PixelFormat Bgr32 { get { throw null; } }
+
public static PixelFormat Bgr555 { get { throw null; } }
public static PixelFormat Bgr565 { get { throw null; } }
@@ -11312,6 +11374,8 @@ namespace Avalonia.Platform
public static PixelFormat Rgb24 { get { throw null; } }
+ public static PixelFormat Rgb32 { get { throw null; } }
+
public static PixelFormat Rgb565 { get { throw null; } }
public static PixelFormat Rgba64 { get { throw null; } }
@@ -11451,6 +11531,8 @@ namespace Avalonia.Platform.Storage
public static FilePickerFileType ImagePng { get { throw null; } }
+ public static FilePickerFileType ImageWebp { get { throw null; } }
+
public static FilePickerFileType Pdf { get { throw null; } }
public static FilePickerFileType TextPlain { get { throw null; } }
@@ -12921,6 +13003,13 @@ namespace Avalonia.Threading
protected override void InvokeCore() { }
}
+ public partial class DispatcherOptions
+ {
+ public DispatcherOptions() { }
+
+ public System.TimeSpan InputStarvationTimeout { get { throw null; } set { } }
+ }
+
public sealed partial class DispatcherPriority
{
internal DispatcherPriority() { }
@@ -13091,6 +13180,19 @@ namespace Avalonia.Threading
namespace Avalonia.Utilities
{
+ public partial class AvaloniaResourcesEntry
+ {
+ public AvaloniaResourcesEntry() { }
+
+ public System.Func<System.IO.Stream>? Open { get { throw null; } init { } }
+
+ public System.String? Path { get { throw null; } init { } }
+
+ public System.Int32? Size { get { throw null; } init { } }
+
+ public System.String? SystemPath { get { throw null; } init { } }
+ }
+
public partial class AvaloniaResourcesIndexEntry
{
public AvaloniaResourcesIndexEntry() { }
@@ -13108,6 +13210,8 @@ namespace Avalonia.Utilities
public static void WriteIndex(System.IO.Stream output, System.Collections.Generic.List<AvaloniaResourcesIndexEntry> entries) { }
+ public static void WriteResources(System.IO.Stream output, System.Collections.Generic.IReadOnlyList<AvaloniaResourcesEntry> resources) { }
+
public static void WriteResources(System.IO.Stream output, System.Collections.Generic.List<(System.String, System.Int32, System.Func<System.IO.Stream>)> resources) { }
}
@@ -13171,6 +13275,7 @@ namespace Avalonia.Utilities
public static System.Boolean TakeIfKeyword(this ref CharacterReader r, System.String keyword) { throw null; }
}
+ [Unstable(null)]
public static partial class MathUtilities
{
public static System.Boolean AreClose(System.Double value1, System.Double value2, System.Double eps) { throw null; }
@@ -13189,8 +13294,6 @@ namespace Avalonia.Utilities
public static System.Double Deg2Rad(System.Double angle) { throw null; }
- public static System.Boolean DoPolygonsIntersect(System.UInt32 cPolyA, System.ReadOnlySpan<Vector> pPtPolyA, System.UInt32 cPolyB, System.ReadOnlySpan<Vector> pPtPolyB) { throw null; }
-
public static Point GetEllipsePoint(Point centre, System.Double radiusX, System.Double radiusY, System.Double angle) { throw null; }
public static (System.Double, System.Double) GetMinMax(System.Double a, System.Double b) { throw null; }
@@ -13207,8 +13310,6 @@ namespace Avalonia.Utilities
public static System.Boolean GreaterThanOrClose(System.Single value1, System.Single value2) { throw null; }
- public static System.Boolean IsEntirelyContained(System.UInt32 cPolyA, System.ReadOnlySpan<Vector> pPtPolyA, System.UInt32 cPolyB, System.ReadOnlySpan<Vector> pPtPolyB) { throw null; }
-
public static System.Boolean IsOne(System.Double value) { throw null; }
public static System.Boolean IsOne(System.Single value) { throw null; }
@@ -13226,8 +13327,6 @@ namespace Avalonia.Utilities
public static System.Boolean LessThanOrClose(System.Single value1, System.Single value2) { throw null; }
public static System.Double Turn2Rad(System.Double angle) { throw null; }
-
- public static System.Int32 WhichPolygonSideIntersects(System.UInt32 cPoly, System.ReadOnlySpan<Vector> pPtPoly, Vector ptCurrent, Vector vecEdge) { throw null; }
}
public static partial class SpanHelpers
diff --git a/baseline/net8.0-browser1.0/Avalonia.Browser.dll807239120.api.cs b/target/net8.0-browser1.0/Avalonia.Browser.dll129799573.api.cs
index f475763..c5a2349 100644
--- a/baseline/net8.0-browser1.0/Avalonia.Browser.dll807239120.api.cs
+++ b/target/net8.0-browser1.0/Avalonia.Browser.dll129799573.api.cs
@@ -18,10 +18,6 @@ namespace Avalonia.Browser
public AvaloniaView(global::System.String divId) { }
public Avalonia.Controls.Control? Content { get { throw null; } set { } }
-
- public global::System.Boolean IsComposing { get { throw null; } }
-
- public global::System.Boolean OnDragEvent(global::System.Runtime.InteropServices.JavaScript.JSObject args) { throw null; }
}
public static partial class BrowserAppBuilder
@@ -33,17 +29,27 @@ namespace Avalonia.Browser
public static Avalonia.AppBuilder UseBrowser(this Avalonia.AppBuilder builder) { throw null; }
}
- public partial class BrowserPlatformOptions
+ public partial record BrowserPlatformOptions()
{
public global::System.String? AvaloniaServiceWorkerScope { get { throw null; } set { } }
public global::System.Func<global::System.String, global::System.String>? FrameworkAssetPathResolver { get { throw null; } set { } }
public global::System.Boolean RegisterAvaloniaServiceWorker { get { throw null; } set { } }
public global::System.Boolean PreferFileDialogPolyfill { get { throw null; } set { } }
+ public global::System.Collections.Generic.IReadOnlyList<BrowserRenderingMode> RenderingMode { get { throw null; } set { } }
+ }
+
+ public enum BrowserRenderingMode
+ {
+ Software2D = 1,
+ WebGL1 = 2,
+ WebGL2 = 3
}
public partial class JSObjectControlHandle
diff --git a/baseline/net6.0/Avalonia.Controls.DataGrid.dll1151804436.api.cs b/target/net6.0/Avalonia.Controls.DataGrid.dll1672104450.api.cs
index aef416d..5de5f1f 100644
--- a/baseline/net6.0/Avalonia.Controls.DataGrid.dll1151804436.api.cs
+++ b/target/net6.0/Avalonia.Controls.DataGrid.dll1672104450.api.cs
@@ -9,6 +9,20 @@
[assembly: System.Reflection.AssemblyVersionAttribute("11.1.0.0")]
[assembly: System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace Avalonia.Automation.Peers
+{
+ public partial class DataGridRowAutomationPeer
+ {
+ public DataGridRowAutomationPeer(Controls.DataGridRow owner) { }
+
+ protected override Peers.AutomationControlType GetAutomationControlTypeCore() { throw null; }
+
+ protected override System.Boolean IsContentElementCore() { throw null; }
+
+ protected override System.Boolean IsControlElementCore() { throw null; }
+ }
+}
+
namespace Avalonia.Collections
{
public sealed partial class DataGridCollectionView : IDataGridCollectionView
@@ -526,6 +540,8 @@ namespace Avalonia.Controls
protected virtual void OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs e) { }
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
+
protected virtual void OnCurrentCellChanged(System.EventArgs e) { }
protected override void OnDataContextBeginUpdate() { }
@@ -612,6 +628,8 @@ namespace Avalonia.Controls
protected override void OnApplyTemplate(Primitives.TemplateAppliedEventArgs e) { }
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
+
protected override void OnPointerEntered(Avalonia.Input.PointerEventArgs e) { }
protected override void OnPointerExited(Avalonia.Input.PointerEventArgs e) { }
@@ -800,6 +818,8 @@ namespace Avalonia.Controls
public Avalonia.Media.IBrush SeparatorBrush { get { throw null; } set { } }
public event System.EventHandler<Avalonia.Input.KeyModifiers> LeftClick { add { } remove { } }
+
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
}
public partial class DataGridColumnReorderingEventArgs
@@ -960,6 +980,8 @@ namespace Avalonia.Controls
protected override void OnApplyTemplate(Primitives.TemplateAppliedEventArgs e) { }
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
+
protected override void OnPointerEntered(Avalonia.Input.PointerEventArgs e) { }
protected override void OnPointerExited(Avalonia.Input.PointerEventArgs e) { }
@@ -1121,6 +1143,64 @@ namespace Avalonia.Controls
}
}
+namespace Avalonia.Controls.Automation.Peers
+{
+ public partial class DataGridAutomationPeer
+ {
+ public DataGridAutomationPeer(DataGrid owner) { }
+
+ public DataGrid Owner { get { throw null; } }
+
+ protected override Avalonia.Automation.Peers.AutomationControlType GetAutomationControlTypeCore() { throw null; }
+ }
+
+ public partial class DataGridCellAutomationPeer
+ {
+ public DataGridCellAutomationPeer(DataGridCell owner) { }
+
+ public DataGridCell Owner { get { throw null; } }
+
+ protected override Avalonia.Automation.Peers.AutomationControlType GetAutomationControlTypeCore() { throw null; }
+
+ protected override System.Boolean IsContentElementCore() { throw null; }
+
+ protected override System.Boolean IsControlElementCore() { throw null; }
+ }
+
+ public partial class DataGridColumnHeaderAutomationPeer
+ {
+ public DataGridColumnHeaderAutomationPeer(DataGridColumnHeader owner) { }
+
+ public DataGridColumnHeader Owner { get { throw null; } }
+
+ protected override Avalonia.Automation.Peers.AutomationControlType GetAutomationControlTypeCore() { throw null; }
+
+ protected override System.Boolean IsContentElementCore() { throw null; }
+
+ protected override System.Boolean IsControlElementCore() { throw null; }
+ }
+
+ public partial class DataGridColumnHeadersPresenterAutomationPeer
+ {
+ public DataGridColumnHeadersPresenterAutomationPeer(Primitives.DataGridColumnHeadersPresenter owner) { }
+
+ public Primitives.DataGridColumnHeadersPresenter Owner { get { throw null; } }
+
+ protected override Avalonia.Automation.Peers.AutomationControlType GetAutomationControlTypeCore() { throw null; }
+
+ protected override System.Boolean IsContentElementCore() { throw null; }
+
+ protected override System.Boolean IsControlElementCore() { throw null; }
+ }
+
+ public partial class DataGridDetailsPresenterAutomationPeer
+ {
+ public DataGridDetailsPresenterAutomationPeer(Primitives.DataGridDetailsPresenter owner) { }
+
+ public Primitives.DataGridDetailsPresenter Owner { get { throw null; } }
+ }
+}
+
namespace Avalonia.Controls.Primitives
{
public sealed partial class DataGridCellsPresenter
@@ -1143,6 +1223,8 @@ namespace Avalonia.Controls.Primitives
protected override void ChildrenChanged(System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) { }
protected override Avalonia.Size MeasureOverride(Avalonia.Size availableSize) { throw null; }
+
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
}
public sealed partial class DataGridDetailsPresenter
@@ -1155,6 +1237,8 @@ namespace Avalonia.Controls.Primitives
protected override Avalonia.Size ArrangeOverride(Avalonia.Size finalSize) { throw null; }
protected override Avalonia.Size MeasureOverride(Avalonia.Size availableSize) { throw null; }
+
+ protected override Avalonia.Automation.Peers.AutomationPeer OnCreateAutomationPeer() { throw null; }
}
public partial class DataGridFrozenGrid
diff --git a/baseline/net6.0/Avalonia.Controls.dll859161061.api.cs b/target/net6.0/Avalonia.Controls.dll1073560433.api.cs
index 93bdd6a..b68a3f4 100644
--- a/baseline/net6.0/Avalonia.Controls.dll859161061.api.cs
+++ b/target/net6.0/Avalonia.Controls.dll1073560433.api.cs
@@ -1680,6 +1680,7 @@ namespace Avalonia.Controls
public static readonly Avalonia.StyledProperty<Avalonia.Media.IBrush?> PlaceholderForegroundProperty;
public static readonly Avalonia.StyledProperty<System.String?> PlaceholderTextProperty;
public static readonly Avalonia.DirectProperty<ComboBox, System.Object?> SelectionBoxItemProperty;
+ public static readonly Avalonia.StyledProperty<Templates.IDataTemplate?> SelectionBoxItemTemplateProperty;
public static readonly Avalonia.StyledProperty<Avalonia.Layout.VerticalAlignment> VerticalContentAlignmentProperty;
public Avalonia.Layout.HorizontalAlignment? HorizontalContentAlignment { get { throw null; } set { } }
@@ -1693,6 +1694,8 @@ namespace Avalonia.Controls
public System.Object? SelectionBoxItem { get { throw null; } protected set { } }
+ public Templates.IDataTemplate? SelectionBoxItemTemplate { get { throw null; } set { } }
+
public Avalonia.Layout.VerticalAlignment? VerticalContentAlignment { get { throw null; } set { } }
public event System.EventHandler? DropDownClosed { add { } remove { } }
@@ -4728,34 +4731,49 @@ namespace Avalonia.Controls
public partial class ToolTip : ContentControl, Diagnostics.IPopupHostProvider
{
+ public static readonly Avalonia.AttachedProperty<System.Int32> BetweenShowDelayProperty;
public static readonly Avalonia.AttachedProperty<System.Double> HorizontalOffsetProperty;
public static readonly Avalonia.AttachedProperty<System.Boolean> IsOpenProperty;
public static readonly Avalonia.AttachedProperty<PlacementMode> PlacementProperty;
+ public static readonly Avalonia.AttachedProperty<System.Boolean> ServiceEnabledProperty;
public static readonly Avalonia.AttachedProperty<System.Int32> ShowDelayProperty;
+ public static readonly Avalonia.AttachedProperty<System.Boolean> ShowOnDisabledProperty;
public static readonly Avalonia.AttachedProperty<System.Object?> TipProperty;
public static readonly Avalonia.AttachedProperty<System.Double> VerticalOffsetProperty;
Primitives.IPopupHost? Diagnostics.IPopupHostProvider.PopupHost { get { throw null; } }
+ public static System.Int32 GetBetweenShowDelay(Control element) { throw null; }
+
public static System.Double GetHorizontalOffset(Control element) { throw null; }
public static System.Boolean GetIsOpen(Control element) { throw null; }
public static PlacementMode GetPlacement(Control element) { throw null; }
+ public static System.Boolean GetServiceEnabled(Control element) { throw null; }
+
public static System.Int32 GetShowDelay(Control element) { throw null; }
+ public static System.Boolean GetShowOnDisabled(Control element) { throw null; }
+
public static System.Object? GetTip(Control element) { throw null; }
public static System.Double GetVerticalOffset(Control element) { throw null; }
+ public static void SetBetweenShowDelay(Control element, System.Int32 value) { }
+
public static void SetHorizontalOffset(Control element, System.Double value) { }
public static void SetIsOpen(Control element, System.Boolean value) { }
public static void SetPlacement(Control element, PlacementMode value) { }
+ public static void SetServiceEnabled(Control element, System.Boolean value) { }
+
public static void SetShowDelay(Control element, System.Int32 value) { }
+ public static void SetShowOnDisabled(Control element, System.Boolean value) { }
+
public static void SetTip(Control element, System.Object? value) { }
public static void SetVerticalOffset(Control element, System.Double value) { }
@@ -4853,15 +4871,29 @@ namespace Avalonia.Controls
public Avalonia.Platform.IPlatformHandle? TryGetPlatformHandle() { throw null; }
}
+ public partial class TransitionCompletedEventArgs
+ {
+ public TransitionCompletedEventArgs(System.Object? from, System.Object? to, System.Boolean? hasRunToCompletion) { }
+
+ public System.Object? From { get { throw null; } }
+
+ public System.Boolean? HasRunToCompletion { get { throw null; } }
+
+ public System.Object? To { get { throw null; } }
+ }
+
public partial class TransitioningContentControl : ContentControl
{
public static readonly Avalonia.StyledProperty<System.Boolean> IsTransitionReversedProperty;
public static readonly Avalonia.StyledProperty<Avalonia.Animation.IPageTransition?> PageTransitionProperty;
public System.Boolean IsTransitionReversed { get { throw null; } set { } }
+ public static readonly Avalonia.Interactivity.RoutedEvent<TransitionCompletedEventArgs> TransitionCompletedEvent;
public Avalonia.Animation.IPageTransition? PageTransition { get { throw null; } set { } }
protected override Avalonia.Size ArrangeOverride(Avalonia.Size? finalSize) { throw null; }
+ public event System.EventHandler<TransitionCompletedEventArgs> TransitionCompleted { add { } remove { } }
protected override void OnAttachedToVisualTree(Avalonia.VisualTreeAttachmentEventArgs e) { }
@@ -5270,6 +5302,8 @@ namespace Avalonia.Controls
public System.Threading.Tasks.Task ShowDialog(Window owner) { throw null; }
public System.Threading.Tasks.Task<TResult> ShowDialog<TResult>(Window owner) { throw null; }
+
+ public static void SortWindowsByZOrder(Window[] windows) { }
}
public partial class WindowBase : TopLevel
@@ -5504,6 +5543,7 @@ namespace Avalonia.Controls.ApplicationLifetimes
internal ActivationKind() { }
public const ActivationKind Background = 40;
+ public const ActivationKind File = 10;
public const ActivationKind OpenUri = 20;
public const ActivationKind Reopen = 30;
public System.Int32 value__;
@@ -5557,6 +5597,13 @@ namespace Avalonia.Controls.ApplicationLifetimes
public System.String[] Args { get { throw null; } }
}
+ public sealed partial class FileActivatedEventArgs : ActivatedEventArgs
+ {
+ public FileActivatedEventArgs(System.Collections.Generic.IReadOnlyList<Avalonia.Platform.Storage.IStorageItem> files) : base(default!) { }
+
+ public System.Collections.Generic.IReadOnlyList<Avalonia.Platform.Storage.IStorageItem> Files { get { throw null; } }
+ }
+
public partial interface IActivatableApplicationLifetime : IActivatableLifetime
{
}
@@ -5594,14 +5641,18 @@ namespace Avalonia.Controls.ApplicationLifetimes
void Shutdown(System.Int32 exitCode = 0);
}
- public partial class ProtocolActivatedEventArgs : ActivatedEventArgs
+ public sealed partial class ProtocolActivatedEventArgs : ActivatedEventArgs
{
- public ProtocolActivatedEventArgs(ActivationKind kind, System.Uri uri) : base(default!) { }
+ public ProtocolActivatedEventArgs(System.Uri uri) : base(default!) { }
public System.Uri Uri { get { throw null; } }
}
@@ -7324,6 +7384,7 @@ namespace Avalonia.Controls.Primitives
public sealed partial class PopupRoot : WindowBase, IPopupHost
{
public static readonly Avalonia.StyledProperty<Avalonia.Media.Transform?> TransformProperty;
+ public static readonly Avalonia.StyledProperty<System.Boolean> WindowManagerAddShadowHintProperty;
public PopupRoot(TopLevel parent, Avalonia.Platform.IPopupImpl impl, Avalonia.IAvaloniaDependencyResolver? dependencyResolver) : base(default!) { }
public PopupRoot(TopLevel parent, Avalonia.Platform.IPopupImpl impl) : base(default!) { }
@@ -7336,6 +7397,8 @@ namespace Avalonia.Controls.Primitives
public Avalonia.Media.Transform? Transform { get { throw null; } set { } }
+ public System.Boolean? WindowManagerAddShadowHint { get { throw null; } set { } }
+
protected sealed override Avalonia.Size? ArrangeSetBounds(Avalonia.Size? size) { throw null; }
public void ConfigurePosition(Avalonia.Visual target, PlacementMode placement, Avalonia.Point offset, PopupPositioning.PopupAnchor anchor = 0, PopupPositioning.PopupGravity gravity = 0, PopupPositioning.PopupPositionerConstraintAdjustment constraintAdjustment = 63, System.Nullable<Avalonia.Rect> rect = null) { }
@@ -8004,6 +8069,8 @@ namespace Avalonia.Controls.Remote
public RemoteServer(Avalonia.Remote.Protocol.IAvaloniaRemoteTransportConnection transport) { }
public System.Object? Content { get { throw null; } set { } }
+
+ public void Dispose() { }
}
public partial class RemoteWidget : Control
@@ -8385,6 +8448,12 @@ namespace Avalonia.Controls.Shapes
protected override Avalonia.Size? MeasureOverride(Avalonia.Size? availableSize) { throw null; }
+ protected virtual void OnGeometryChanged(System.Object? sender, System.EventArgs e) { }
+
protected override void OnPropertyChanged(Avalonia.AvaloniaPropertyChangedEventArgs change) { }
public sealed override void Render(Avalonia.Media.DrawingContext context) { }
diff --git a/baseline/net8.0/Avalonia.Headless.Vnc.dll1618059797.api.cs b/target/net8.0/Avalonia.Headless.Vnc.dll802269774.api.cs
index 0cd513d..2e9e40a 100644
--- a/baseline/net8.0/Avalonia.Headless.Vnc.dll1618059797.api.cs
+++ b/target/net8.0/Avalonia.Headless.Vnc.dll802269774.api.cs
@@ -13,6 +13,8 @@ namespace Avalonia
{
public static partial class HeadlessVncPlatformExtensions
{
+ public static global::System.Int32 StartWithHeadlessVncPlatform(this Avalonia.AppBuilder builder, global::System.String host, global::System.Int32 port, global::System.String? password, global::System.String[] args, Avalonia.Controls.ShutdownMode shutdownMode = 0) { throw null; }
+
public static global::System.Int32 StartWithHeadlessVncPlatform(this Avalonia.AppBuilder builder, global::System.String host, global::System.Int32 port, global::System.String[] args, Avalonia.Controls.ShutdownMode shutdownMode = 0) { throw null; }
}
}
@@ -24,8 +26,12 @@ namespace Avalonia.Headless.Vnc
public global::RemoteViewing.Vnc.VncFramebuffer _framebuffer;
public HeadlessVncFramebufferSource(global::RemoteViewing.Vnc.Server.VncServerSession session, Avalonia.Controls.Window window) { }
+ public global::System.Boolean SupportsResizing { get { throw null; } }
+
public Avalonia.Controls.Window Window { get { throw null; } set { } }
public global::RemoteViewing.Vnc.VncFramebuffer Capture() { throw null; }
+
+ public global::RemoteViewing.Vnc.ExtendedDesktopSizeStatus SetDesktopSize(global::System.Int32 width, global::System.Int32 height) { throw null; }
}
}
\ No newline at end of file
diff --git a/baseline/net8.0-ios17.0/Avalonia.iOS.dll214731869.api.cs b/target/net8.0-ios17.0/Avalonia.iOS.dll547833384.api.cs
index 8661a57..a35160d 100644
--- a/baseline/net8.0-ios17.0/Avalonia.iOS.dll214731869.api.cs
+++ b/target/net8.0-ios17.0/Avalonia.iOS.dll547833384.api.cs
@@ -43,6 +43,8 @@ namespace Avalonia.iOS
public global::UIKit.UIWindow? Window { get { throw null; } set { } }
+ protected virtual Avalonia.AppBuilder CreateAppBuilder() { throw null; }
+
protected virtual Avalonia.AppBuilder CustomizeAppBuilder(Avalonia.AppBuilder builder) { throw null; }
public global::System.Boolean FinishedLaunching(global::UIKit.UIApplication application, global::Foundation.NSDictionary launchOptions) { throw null; }
diff --git a/baseline/net8.0/Avalonia.LinuxFramebuffer.dll1628043025.api.cs b/target/net8.0/Avalonia.LinuxFramebuffer.dll1121121446.api.cs
index 7672552..b0e9fda 100644
--- a/baseline/net8.0/Avalonia.LinuxFramebuffer.dll1628043025.api.cs
+++ b/target/net8.0/Avalonia.LinuxFramebuffer.dll1121121446.api.cs
@@ -19,6 +19,8 @@ namespace <global namespace>
public static global::System.Int32 StartLinuxDrm(this Avalonia.AppBuilder builder, global::System.String[] args, global::System.String? card = null, global::System.Double scaling = 1, Avalonia.LinuxFramebuffer.Input.IInputBackend? inputBackend = null) { throw null; }
+ public static global::System.Int32 StartLinuxFbDev(this Avalonia.AppBuilder builder, global::System.String[] args, Avalonia.LinuxFramebuffer.Output.FbDevOutputOptions options, Avalonia.LinuxFramebuffer.Input.IInputBackend? inputBackend = null) { throw null; }
+
public static global::System.Int32 StartLinuxFbDev(this Avalonia.AppBuilder builder, global::System.String[] args, global::System.String? fbdev = null, global::System.Double scaling = 1, Avalonia.LinuxFramebuffer.Input.IInputBackend? inputBackend = null) { throw null; }
public static global::System.Int32 StartLinuxFbDev(this Avalonia.AppBuilder builder, global::System.String[] args, global::System.String fbdev, global::System.Nullable<Avalonia.Platform.PixelFormat> format, global::System.Double scaling, Avalonia.LinuxFramebuffer.Input.IInputBackend? inputBackend = null) { throw null; }
@@ -27,10 +29,38 @@ namespace <global namespace>
namespace Avalonia.LinuxFramebuffer
{
+ public enum DrmConnectorType
+ {
+ Component = 8U,
+ Composite = 5U,
+ DIN = 9U,
+ DisplayPort = 10U,
+ DSI = 16U,
+ DVI_A = 4U,
+ DVI_D = 3U,
+ DVI_I = 2U,
+ eDP = 14U,
+ HDMI_A = 11U,
+ HDMI_B = 12U,
+ LVDS = 7U,
+ None = 0U,
+ S_Video = 6U,
+ TV = 13U,
+ VGA = 1U,
+ Virtual = 15U,
+ }
+
public partial class DrmOutputOptions
{
public DrmOutputOptions() { }
+ public global::System.Nullable<DrmConnectorType> ConnectorType { get { throw null; } init { } }
+
+ public global::System.Nullable<global::System.UInt32> ConnectorType_Id { get { throw null; } init { } }
+
public global::System.Boolean EnableInitialBufferSwapping { get { throw null; } set { } }
public Avalonia.Media.Color InitialBufferSwappingColor { get { throw null; } set { } }
@@ -42,6 +72,8 @@ namespace Avalonia.LinuxFramebuffer
public sealed partial class FbdevOutput : Output.IOutputBackend
{
+ public FbdevOutput(Output.FbDevOutputOptions options) { }
+
public FbdevOutput(global::System.String fileName, global::System.Nullable<Avalonia.Platform.PixelFormat> format) { }
public FbdevOutput(global::System.String fileName = null) { }
@@ -117,10 +149,17 @@ namespace Avalonia.LinuxFramebuffer.Input.LibInput
{
public LibInputBackend() { }
+ public LibInputBackend(LibInputBackendOptions options) { }
+
public void Initialize(IScreenInfoProvider screen, global::System.Action<Avalonia.Input.Raw.RawInputEventArgs> onInput) { }
public void SetInputRoot(Avalonia.Input.IInputRoot root) { }
}
+
+ public sealed partial record LibInputBackendOptions()
+ {
+ public global::System.Collections.Generic.IReadOnlyList<global::System.String>? Events { get { throw null; } init { } }
+ }
}
namespace Avalonia.LinuxFramebuffer.Input.NullInput
@@ -139,6 +178,8 @@ namespace Avalonia.LinuxFramebuffer.Output
{
public partial class DrmCard
{
+ public DrmCard(global::System.Int32 fd) { }
+
public DrmCard(global::System.String path = null) { }
public global::System.Int32 Fd { get { throw null; } }
@@ -154,6 +195,10 @@ namespace Avalonia.LinuxFramebuffer.Output
public DrmModeConnection Connection { get { throw null; } }
+ public DrmConnectorType ConnectorType { get { throw null; } }
+
+ public global::System.UInt32 ConnectorType_Id { get { throw null; } }
+
public global::System.UInt32 Id { get { throw null; } }
public global::System.Collections.Generic.List<DrmModeInfo> Modes { get { throw null; } }
@@ -205,6 +250,8 @@ namespace Avalonia.LinuxFramebuffer.Output
public DrmOutput(DrmCard card, DrmResources resources, DrmConnector connector, DrmModeInfo modeInfo) { }
+ public DrmOutput(DrmCard card, global::System.Boolean connectorsForceProbe = false, DrmOutputOptions options = null) { }
+
public DrmOutput(global::System.String path = null, global::System.Boolean connectorsForceProbe = false, DrmOutputOptions options = null) { }
public Avalonia.PixelSize PixelSize { get { throw null; } }
@@ -227,6 +274,19 @@ namespace Avalonia.LinuxFramebuffer.Output
public global::System.Collections.Generic.List<DrmConnector> Connectors { get { throw null; } }
}
+ public partial class FbDevOutputOptions
+ {
+ public FbDevOutputOptions() { }
+
+ public global::System.String? FileName { get { throw null; } set { } }
+
+ public global::System.Nullable<Avalonia.Platform.PixelFormat?>? PixelFormat { get { throw null; } set { } }
+
+ public global::System.Boolean? RenderDirectlyToMappedMemory { get { throw null; } set { } }
+
+ public global::System.Double? Scaling { get { throw null; } set { } }
+ }
+
public partial interface IGlOutputBackend : IOutputBackend
{
Avalonia.Platform.IPlatformGraphics PlatformGraphics { get; }
diff --git a/baseline/netstandard2.0/Avalonia.Markup.Xaml.dll1794664409.api.cs b/target/netstandard2.0/Avalonia.Markup.Xaml.dll455750950.api.cs
index 04f0ab9..5e2ee9a 100644
--- a/baseline/netstandard2.0/Avalonia.Markup.Xaml.dll1794664409.api.cs
+++ b/target/netstandard2.0/Avalonia.Markup.Xaml.dll455750950.api.cs
@@ -595,6 +595,13 @@ namespace Avalonia.Markup.Xaml.XamlIl.Runtime
{
}
+ public partial interface IAvaloniaXamlIlEagerParentStackProvider : IAvaloniaXamlIlParentStackProvider
+ {
+ System.Collections.Generic.IReadOnlyList<System.Object> DirectParents { get; }
+
+ IAvaloniaXamlIlEagerParentStackProvider? ParentProvider { get; }
+ }
+
public partial interface IAvaloniaXamlIlParentStackProvider
{
System.Collections.Generic.IEnumerable<System.Object> Parents { get; }
@@ -618,5 +625,7 @@ namespace Avalonia.Markup.Xaml.XamlIl.Runtime
public static System.Func<System.IServiceProvider, System.Object> DeferredTransformationFactoryV1(System.Func<System.IServiceProvider, System.Object> builder, System.IServiceProvider provider) { throw null; }
public static System.Func<System.IServiceProvider, System.Object> DeferredTransformationFactoryV2<T>(System.Func<System.IServiceProvider, System.Object> builder, System.IServiceProvider provider) { throw null; }
+
+ public static Avalonia.Controls.IDeferredContent DeferredTransformationFactoryV3<T>(System.IntPtr builder, System.IServiceProvider provider) { throw null; }
}
}
\ No newline at end of file
diff --git a/baseline/net8.0-tizen8.0/Avalonia.Tizen.dll1931166707.api.cs b/target/net8.0-tizen8.0/Avalonia.Tizen.dll24229596.api.cs
index 0421303..938ad38 100644
--- a/baseline/net8.0-tizen8.0/Avalonia.Tizen.dll1931166707.api.cs
+++ b/target/net8.0-tizen8.0/Avalonia.Tizen.dll24229596.api.cs
@@ -53,6 +53,8 @@ namespace Avalonia.Tizen
{
public NuiTizenApplication() { }
+ protected virtual Avalonia.AppBuilder CreateAppBuilder() { throw null; }
+
protected virtual Avalonia.AppBuilder CustomizeAppBuilder(Avalonia.AppBuilder builder) { throw null; }
protected override void OnCreate() { }
diff --git a/baseline/netstandard2.0/Avalonia.X11.dll668480188.api.cs b/target/netstandard2.0/Avalonia.X11.dll484054155.api.cs
index 1445973..d3224fd 100644
--- a/baseline/netstandard2.0/Avalonia.X11.dll668480188.api.cs
+++ b/target/netstandard2.0/Avalonia.X11.dll484054155.api.cs
@@ -44,6 +44,8 @@ namespace Avalonia
public System.Boolean UseDBusMenu { get { throw null; } set { } }
+ public System.Nullable<System.Boolean> UseRetainedFramebuffer { get { throw null; } set { } }
+
public System.String WmClass { get { throw null; } set { } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment