Category: basics

  • XAML MAUI Basic View Types

    These controls(views) are some of the basics in developing interfaces that are to be used in a GUI. You can have these views on the content pages. All of these controls are single-functionality control elements. Image  Displays an image. Label Displays text. Button Triggers an action when clicked. Clicked=”OnButtonClicked”: This is the event handler of…

  • XAML Layout Types

    Stacklayout  Stacklayout can stack its children in vertical manner or in the horizontal manner depending with the content of the Orientation. VerticalStackLayout While positioned with the help of VerticalStackLayout, its children are positioned in vertical direction from the top downwards. HorizontalStackLayout The HorizontalStackLayout places the children in the layout horizontally in the order from left…

  • XAML Page Types

    ContentPage ContentPage : Describes one page of your application. This is the most simple page type in dotnet MAUI. StackLayout : Places child elements one below the other in a vertical manner. Let’s look attributes of StackLayout. RadioButtons : Enables choice from a limited number of possibilities whereby the user has to choose a certain…

  • XAML Views(Code Behind)

    Let’s look closer some items. ContentPage : MainPage is inherited from the ContentPage class which in turn is a class that represents a single view. InitializeComponent(); : An XAML compiler method, that produces named item. Constructor to intialize all the controls which are present in MainPage.xaml page. Links the XAML components with their peers in…

  • XAML Views

    So let’s just have a look more closely at each of the elements and the attributes therein. ScrollView : Offers a capacity to have a scrollable content in relation to its inside-represented child content. ScrollView, makes sure that the content placed inside can only be scrolled up/down and/or left/right if the content itself is larger…

  • Basics of XAML

    App.xaml Application is root element of xaml file and it contains all the setting that is applicable for whole application of. But let’s look closer on the “Appplication” element and the available attibutes. You can even define what is called an application resources within the section of “Application.Resources”. This resources will be useful for entire…