Skip to content

930801 [Hotfix] Revamp the UG documentation of .NET MAUI toolkit controls NumericEntry, NumericUpDown and Button. #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 52 additions & 35 deletions maui-toolkit/Button/Customization.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: Customization in .NET MAUI Button control | Syncfusion<sup>®</sup>
description: Learn here all about Customization support in Syncfusion<sup>®</sup> .NET MAUI Button (SfButton) control and more.
title: Customization in .NET MAUI Button control | Syncfusion®
description: Learn here all about Customization support in Syncfusion® .NET MAUI Button (SfButton) control and more.
platform: maui
control: Sfbutton
control: SfButton
documentation: ug
---

@@ -22,8 +22,8 @@ The [`TextColor`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.To
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" TextColor = "White" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" WidthRequest="200" Text="Button" TextColor = "White" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -45,8 +45,8 @@ The [`FontSize`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Too
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" FontSize = "18" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" WidthRequest="150" HeightRequest="40" Text="Button" FontSize = "18" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -68,8 +68,9 @@ The [`FontAttributes`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Ma
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" FontAttributes = "Italic" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" WidthRequest="150" HeightRequest="40"
FontAttributes = "Italic" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -91,8 +92,9 @@ The [`FontFamily`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.T
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" FontFamily = "Samantha-Demo" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" WidthRequest="150" HeightRequest="40"
FontFamily = "Samantha-Demo" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -114,8 +116,9 @@ The [`HorizontalTextAlignment`](https://help.syncfusion.com/cr/maui-toolkit/Sync
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" HorizontalTextAlignment="Center" VerticalTextAlignment="Center">
</button:SfButton>
<buttons:SfButton x:Name="button" WidthRequest="150" HeightRequest="40"
Text="Button" HorizontalTextAlignment="Center" VerticalTextAlignment="Center">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -135,12 +138,14 @@ Users can now customize the [`SfButton`](https://help.syncfusion.com/cr/maui-too
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button"
<buttons:SfButton x:Name="button"
Text="Submit"
TextTransform="Uppercase"
WidthRequest="150"
HeightRequest="40"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center">
</button:SfButton>
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -169,8 +174,9 @@ The [`LineBreakMode`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Mau
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Add Items To Cart" LineBreakMode="MiddleTruncation" ImageSource="Cart.png">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Add Items To Cart" WidthRequest="150" HeightRequest="40"
LineBreakMode="MiddleTruncation" ImageSource="Cart.png">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -196,8 +202,9 @@ The [`Background`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.T
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" Background = "DeepSkyBlue" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" WidthRequest="150" HeightRequest="40"
Background = "DeepSkyBlue" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -221,8 +228,8 @@ The [`Stroke`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolk
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" Stroke="Red" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" Stroke="Red" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -244,8 +251,8 @@ The [`StrokeThickness`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.M
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" Stroke="Red" StrokeThickness="6" CornerRadius="10">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" Stroke="Red" StrokeThickness="6" CornerRadius="10">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -268,8 +275,8 @@ The [`CornerRadius`](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" CornerRadius="20">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" CornerRadius="20" WidthRequest="150" HeightRequest="40">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -294,8 +301,8 @@ You can enable the Icon image using the [`ShowIcon`](https://help.syncfusion.com
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True" WidthRequest="150" HeightRequest="40">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -317,8 +324,8 @@ N> Enable the [`ShowIcon`]() property to enable the [`ImageSource`](https://help
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True" CornerRadius="2">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True" CornerRadius="2" WidthRequest="150" HeightRequest="40">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -343,8 +350,8 @@ N> Enable the `ShowIcon` property to enable the `ImageSize` property.
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True" ImageSize="50">
</button:SfButton>
<buttons:SfButton x:Name="button" Text="Button" ImageSource="Heart.png" ShowIcon="True" ImageSize="50" WidthRequest="150" HeightRequest="40">
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
@@ -379,10 +386,12 @@ N> Enable the `ShowIcon` property to enable the `ImageAlignment` property.

<buttons:SfButton x:Name="button"
Text="Shopping"
WidthRequest="150"
HeightRequest="40"
TextColor="Black"
HorizontalOptions="Center"
ImageSource="add_to_card.png"
ShowIcon="True"
ShowIcon="True"
ImageSize="25"
Stroke="Black"
CornerRadius="10"
@@ -418,6 +427,8 @@ SfButton button = new SfButton()

<buttons:SfButton x:Name="button"
Text="Shopping"
WidthRequest="150"
HeightRequest="40"
TextColor="Black"
HorizontalOptions="Center"
ImageSource="add_to_card.png"
@@ -458,6 +469,8 @@ SfButton button = new SfButton()

<buttons:SfButton x:Name="button"
Text="Shopping"
WidthRequest="150"
HeightRequest="40"
TextColor="Black"
HorizontalOptions="Center"
ImageSource="add_to_card.png"
@@ -498,6 +511,8 @@ SfButton button = new SfButton()

<buttons:SfButton x:Name="button"
Text="Shopping"
WidthRequest="150"
HeightRequest="40"
TextColor="Black"
HorizontalOptions="Center"
ImageSource="add_to_card.png"
@@ -538,6 +553,8 @@ SfButton button = new SfButton()

<buttons:SfButton x:Name="button"
Text="Shopping"
WidthRequest="150"
HeightRequest="40"
TextColor="Black"
HorizontalOptions="Center"
ImageSource="add_to_card.png"
@@ -740,7 +757,7 @@ The [EnableRippleEffect](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.
{% tabs %}
{% highlight xaml %}

<button:SfButton x:Name="button" Text="Button" EnableRippleEffect="True" />
<buttons:SfButton x:Name="button" Text="Button" EnableRippleEffect="True" />

{% endhighlight %}
{% highlight c# %}
@@ -767,11 +784,11 @@ N> Default value is [`null`].
<local:CommandDemoViewModel />
</ContentPage.BindingContext>

<button:SfButton x:Name="button"
<buttons:SfButton x:Name="button"
Text="Button"
Background="{Binding Background}"
Command="{Binding ButtonCommand}">
</button:SfButton>
</buttons:SfButton>

{% endhighlight %}
{% highlight c# %}
4 changes: 2 additions & 2 deletions maui-toolkit/Button/Events.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Event in .NET MAUI Button Control | Syncfusion<sup>®</sup>
description: Learn here about Event support in the Syncfusion<sup>®</sup> .NET MAUI Button (SfButton) control, its elements and more.
title: Event in .NET MAUI Button Control | Syncfusion®
description: Learn here about Event support in the Syncfusion® .NET MAUI Button (SfButton) control, its elements and more.
platform: maui
control: SfButton
documentation: ug
12 changes: 9 additions & 3 deletions maui-toolkit/Button/Getting-Started.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Getting Started with .NET MAUI Button | Syncfusion<sup>®</sup>
description: Learn here about getting started with the Syncfusion<sup>®</sup> .NET MAUI Button (SfButton) control, its elements and more.
title: Getting Started with .NET MAUI Button | Syncfusion®
description: Learn here about getting started with the Syncfusion® .NET MAUI Button (SfButton) control, its elements and more.
platform: MAUI
control: SfButton
documentation: ug
@@ -289,6 +289,8 @@ N> Ensure that the images mentioned in the code snippets are located in the **Re

<buttons:SfButton x:Name="SfButton"
Text="Button"
WidthRequest="150"
HeightRequest="40"
TextColor="White"
ShowIcon="True"
CornerRadius="2"
@@ -299,6 +301,8 @@ N> Ensure that the images mentioned in the code snippets are located in the **Re

SfButton button = new SfButton();
button.Text = "Button";
button.WidthRequest = 150;
button.HeightRequest = 40;
button.TextColor = Colors.White;
button.ImageSource = "button_Heart.png";
button.ShowIcon = true;
@@ -322,7 +326,8 @@ The button background image can be defined using the [BackgroundImageSource](htt
FontAttributes="Bold"
BackgroundImageSource="button_background.png"
CornerRadius="10"
WidthRequest="150"/>
WidthRequest="150"
HeightRequest="40"/>

{% endhighlight %}
{% highlight c# %}
@@ -333,6 +338,7 @@ button.FontAttributes = FontAttributes.Bold;
button.BackgroundImageSource = "button_background.png";
button.CornerRadius = 10;
button.WidthRequest = 150;
button.HeightRequest = 40;

{% endhighlight %}
{% endtabs %}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified maui-toolkit/Button/Images/customization-images/Button_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified maui-toolkit/Button/Images/right-to-left/RTL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions maui-toolkit/Button/Overview.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: About .NET MAUI Control | Syncfusion<sup>®</sup>
description: Learn here about introduction of the Syncfusion<sup>®</sup> .NET MAUI Button (SfButton) control, its elements and more.
title: About .NET MAUI Control | Syncfusion®
description: Learn here about introduction of the Syncfusion® .NET MAUI Button (SfButton) control, its elements and more.
platform: maui
control: SfButton
documentation: ug
8 changes: 6 additions & 2 deletions maui-toolkit/Button/Right-To-Left.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Right To Left in .NET MAUI Button Control | Syncfusion<sup>®</sup>
description: Learn about the comprehensive support for right-to-left (RTL) directionality within the Syncfusion<sup>®</sup> .NET MAUI Button, also known as the SfButton control.
title: Right To Left in .NET MAUI Button Control | Syncfusion®
description: Learn about the comprehensive support for right-to-left (RTL) directionality within the Syncfusion® .NET MAUI Button, also known as the SfButton control.
platform: maui
control: SfButton
documentation: ug
@@ -15,6 +15,8 @@ documentation: ug
{% highlight xaml %}

<buttons:SfButton x:Name="button"
WidthRequest="150"
HeightRequest="40"
FlowDirection="RightToLeft"
ImageSource="add_to_card.png"
ShowIcon="True"
@@ -24,6 +26,8 @@ documentation: ug
{% highlight c# %}
SfButton button = new SfButton()
{
WidthRequest = 150,
HeightRequest = 40,
FlowDirection = FlowDirection.RightToLeft,
Text = "Add to cart",
ImageSource = "add_to_card.png",
6 changes: 3 additions & 3 deletions maui-toolkit/Button/Visual-States.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Visual states in .NET MAUI Button Control | Syncfusion<sup>®</sup>
description: Learn about visual states support in the Syncfusion<sup>®</sup> .NET MAUI Button (SfButton) control, its elements, and more.
title: Visual states in .NET MAUI Button Control | Syncfusion®
description: Learn about visual states support in the Syncfusion® .NET MAUI Button (SfButton) control, its elements, and more.
platform: maui
control: SfButton
documentation: ug
@@ -35,7 +35,7 @@ N> The visual states [Checked](https://help.syncfusion.com/cr/maui-toolkit/Syncf
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<VisualState.Setters>
<Setter Property="Background" Value="Orange"/>
<Setter Property="Background" Value="#6A4C9C"/>
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Checked">
Loading
Oops, something went wrong.