Avalonia 4 akan Alpha, GUIs akan dandamali .NET

Ba da daɗewa ba akwai matakan alpha a cikin bugu na huɗu na dandamali Avalonia. Masu kirkirarta sun ayyana shi azaman "tsarin UI mai canzawa na tsarin .Net", ana iya bayyana shi azaman Avalonia a matsayin dandamali wanda ya dogara da .Net wanda ke aiki da ni'imar kirkirar hanyoyin musayar masu amfani da yawa, na biyun yana amfani da sabbin abubuwan sauyawa na .Net don aikin sa a wasu tsarin.

Avalonia haifuwa tare da shiriyar na WPF kuma yana ba da damar gudanar da aikace-aikace XAML akan tsarin kamar Linux, Mac da Windows. Ba tare da barin goyon baya ga wayoyin hannu ba. Yana da kyau a faɗi cewa an kawo shi azaman fakiti NuGet kuma zai iya dacewa da tsarin kamar GTK y Alkahira.

1

Mafi mahimmancin halaye na Avalonia za'a iya samu a cikin babban gidan yanar gizo daga Kayayyakin aikin hurumin kallo.

Halaye na Avalonia 4 alpha alpha

A cikin zane-zane Avalonia ya zo tare da abokantaka ko masani mai kyan gani, kamar yadda masu haɓaka suka bayyana shi. Cewa ya sanya maganganu a cikin tsarin yayin buɗe fayil, lokacin ƙoƙarin adana ɗaya ko lokacin zaɓar daga shugabanci.

Kari akan haka, zaku iya yin amfani da launuka da goge a yanayin su daban-daban har zuwa tunanin abubuwan da suka shafi salon. Wanne yana nufin cewa yanzu zaku iya samun freedomanci cikin zaɓar albarkatu, a waje da tsarin da XAML ya kafa akan su. Bugu da ƙari, an haɗa tallafi don gumakan taga.

zanen

Don jerin ƙididdigar ƙira, Avalonia yanzu yana ba da jerin ƙididdigar ƙa'idodin Mataki. Wannan yana nufin cewa Asali ƙirƙirar jerin akwatunan an canza su ɗaya bayan ɗaya don kowane ɓangare na JerinBox a cikin ListBoxItem. A yanzu kawai ƙirƙirar akwatin lissafi a cikin ListBoxItems yayin lokutan da kowane labarin yake a cikin ra'ayi na yanzu. Wannan ya sami ci gaba sosai cikin sauri yayin wannan aikin. An saita wannan zaɓi ta tsohuwa, wanda hakan baya sanya kunna shi. Idan kanaso kayi akasin haka zaka iya musaka shi ta wannan hanyar a cikin ListBox: VirtualizationMode = »Babu>

Daga cikin wasu abubuwa, sananne ne cewa a baya an yi ingantattun bayanai don bayanan da aka samo a cikin hanyoyin cikin Avalonia. Ana iya kunna wannan tallafi haɗe tare da kadarar Saka ingancin aiki tare da mahaɗin gaskiya.

Kodayake yana da mahimmanci a lura cewa ba a samun ingancin bayanai don InotifyDataErrorInfo. An san cewa aiki yana ci gaba da faɗaɗa tallafi a ciki IDataKuskurenInfo y Tsarin.ComponentModel.DataAnnotations a nan gaba kadan ga dandamali.

Don samar da inganci dangane da dacewa da aikace-aikace don dandamali daban-daban, tsarin a AppBuilder wanda za'a yi amfani dashi don yin daidaitaccen dacewa a cikin takamaiman yankuna na dandamali don aikace-aikacen. Don haka aikace-aikacen zai iya gudana lami lafiya akan sauran dandamali. Game da aikace-aikacen tebur, kuna da ra'ayi kamar haka:

static void Main ( string [] args )
{
AppBuilder . Configure < App >().UsePlatformDetect () . Start < MainWindow>();
}

Hakanan Avalonia 4 tana aiki don bayar da API mai zane baya Skia ta hanyar umarnin Skia #. A cikin buƙatar sauya ƙa'idar API ta Alkahira ta yanzu, ga waɗancan dandamali waɗanda ba Windows ba, Skia, ban da kasancewarsa sabon mai fasahar API, yana tsaye don kasancewa mai daidaituwa ga buƙatun Avalonia 4, ban da kasancewa masu jituwa don dandamali ta hannu.

A ƙarshe amma ba mafi ƙaranci ba, an yi gyare-gyare don abin da ke cikin aikace-aikace a cikin Windows ta atomatik ya wuce zuwa DPI na saka idanu wanda aka nuna a cikin taga lokacin da aka ja shi zuwa wani mai saka idanu tare da saituna daban.

Tare da gabatarwa a alpha lokaci Avalonia Yana ba mu ɗanɗanar kyawawan abubuwan da ke tare da shi. Kodayake cikakkun bayanai da yawa sun kasance don gogewa, yana da ban sha'awa don samun ra'ayin abin da sabo da sabunta dandalin ba zai kawo ba.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Sharhi, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Frank Yznardi Davila Arellano m

    Mun riga mun ga cewa har Linux suna motsawa zuwa Microsoft, da sannu za mu ga Linux ta Microsoft.