Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
872bb94
[iOS] CarouselView with CarouselViewHandler2 make app crash when Loop…
kubaflo Jun 9, 2025
22ed68e
Bump to 1.7.250606001 of WindowsAppSDK (#29915)
PureWeen Jun 11, 2025
736b1e6
Fixes Setting BackgroundColor to null does not actually changes Backg…
Jon2G Jun 13, 2025
706161e
Fixed the picker title's color (#23075)
kubaflo Jun 13, 2025
e268456
[android] Fallback to default icons in SearchHandler (#25067)
aheubusch Jun 13, 2025
3285c24
[Testing] Feature Matrix UITest Cases for Button (#29803)
TamilarasanSF4853 Jun 13, 2025
db77d5f
[Testing] Feature matrix UITest Cases for BoxView Control (#29808)
HarishKumarSF4517 Jun 13, 2025
0406752
Enabled-MultiTouch-iOS (#29895)
prakashKannanSf3972 Jun 13, 2025
733ac3f
[houekeeping] update namespaces in hostapp and shared tests projects …
bhavanesh2001 Jun 13, 2025
f89740e
Optimize converters for GridLength, ColumnDefinition, and RowDefiniti…
symbiogenesis Jun 13, 2025
5897ad7
Add defensive IsAlive check to Android ViewExtensions.OnUnloaded (#29…
jfversluis Jun 13, 2025
024371d
Update SetterSpecificity.cs Remove Extra Line From Bad Merge (#29987)
PureWeen Jun 13, 2025
885eeac
ScrollView's Background on iOS (#25541)
kubaflo Jun 16, 2025
f053c13
[Windows] Fixed runtime update issue for SearchBar PlaceholderColor a…
Tamilarasan-Paranthaman Jun 16, 2025
590bd5f
[Testing] Enable HandlerDoesNotLeak for Button and ProgressBar (#29896)
bhavanesh2001 Jun 16, 2025
88b7642
[create-pull-request] automated change (#30019)
github-actions[bot] Jun 17, 2025
9899329
Revert "Fixes Setting BackgroundColor to null does not actually chang…
mattleibow Jun 17, 2025
87f5001
Weak subscription to CanExecuteChange events (#29837)
PureWeen Jun 17, 2025
0c3a393
[create-pull-request] automated change (#30043)
github-actions[bot] Jun 18, 2025
a9f228f
[iOS, Mac] Fix for downsized image retaining original dimensions in G…
SyedAbdulAzeemSF4852 Jun 18, 2025
637e2e4
[Android] Prevent Picker from Gaining Focus on Touch (#29068)
bhavanesh2001 Jun 19, 2025
2d7a1e4
Revert - Fixed the Label not sized correctly on Android (#30023)
Ahamed-Ali Jun 19, 2025
731302d
[create-pull-request] automated change (#30078)
github-actions[bot] Jun 21, 2025
7d0888a
Fix CV1 GridItemsLayout centering single item AND Fix Empty view not …
albyrock87 Jun 21, 2025
eb4e2e2
Update Controls.TestCases.HostApp.csproj (#30124)
HarishKumarSF4517 Jun 23, 2025
e0723d7
[Testing] Fixed Test case failure in PR 30115 - [2025/06/23] Candidat…
HarishKumarSF4517 Jun 26, 2025
0175e3c
[Testing] Add Validation Test For Issue28051 On Android (#30026)
prakashKannanSf3972 Jun 26, 2025
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
Prev Previous commit
Next Next commit
[Testing] Feature matrix UITest Cases for BoxView Control (#29808)
* harish_feature_matrix_boxview

* Added the Snapshots

* Updated the Snapshots

* Renamed the file

* Added property and Updated Snaps

* Resaved Snapshots from latest build
  • Loading branch information
HarishKumarSF4517 authored and PureWeen committed Jun 27, 2025
commit db77d5f3310c0bce0d617b1eb9f5a03e73feaaba
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public override string ToString()
new GalleryPageFactory(() => new CollectionViewFeaturePage(), "CollectionView Feature Matrix"),
new GalleryPageFactory(() => new LabelControlPage(), "Label Feature Matrix"),
new GalleryPageFactory(() => new CarouselViewFeaturePage(), "CarouselView Feature Matrix"),
new GalleryPageFactory(() => new BoxViewControlPage(), "BoxView Feature Matrix"),
};

public CorePageView(Page rootPage)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Maui.Controls.Sample"
x:Class="Maui.Controls.Sample.BoxViewControlMainPage"
x:DataType="local:BoxViewViewModel"
Title="BoxViewControlPage">

<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<!-- BoxView at top center -->
<BoxView Grid.Row="0"
Color="{Binding Color}"
WidthRequest="{Binding Width}"
Opacity="{Binding Opacity}"
HeightRequest="{Binding Height}"
CornerRadius="{Binding CornerRadius}"
IsVisible="{Binding IsVisible}"
Shadow="{Binding BoxShadow}"
VerticalOptions="Center"
FlowDirection="{Binding FlowDirection}"
HorizontalOptions="Center"/>

<!-- Controls at bottom -->
<Grid Grid.Row="1"
ColumnSpacing="20"
VerticalOptions="End"
HorizontalOptions="Center">

<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>

<!-- Left Column - Entry Controls -->
<StackLayout Grid.Column="0"
Grid.Row="0"
Padding="20"
Spacing="10">
<Label FontAttributes="Bold"
AutomationId="CornerRadiusLabel"
Text="Corner Radius"/>
<local:UITestEntry x:Name="CornerRadiusEntry"
AutomationId="CornerRadiusEntry"
Placeholder="e.g. 10,20,30,40"
IsCursorVisible="False"
Text="{Binding CornerRadiusEntryText, Mode=TwoWay}"
TextChanged="OnCornerRadiusEntryChanged"/>
<Label FontAttributes="Bold"
AutomationId="OpacityLabel"
Text="Opacity"/>
<local:UITestEntry x:Name="OpacityEntry"
Placeholder="Enter opacity (0.0 - 1.0)"
AutomationId="OpacityEntry"
IsCursorVisible="False"
Text="{Binding OpacityEntryText, Mode=TwoWay}"
TextChanged="OnOpacityChanged"/>

<Button Text="Reset Changes"
WidthRequest="150"
AutomationId="ResetButton"
Clicked="OnResetChangesClicked"/>
</StackLayout>

<!-- Right Column - Controls -->
<StackLayout Grid.Column="1"
Grid.Row="0"
Padding="20"
Spacing="1">
<Label FontAttributes="Bold"
Text="Box Color"/>
<VerticalStackLayout>
<RadioButton Content="Red"
Value="Red"
GroupName="Colors"
AutomationId="RedRadioButton"
IsChecked="{Binding IsRedChecked, Mode=TwoWay}"/>

<RadioButton Content="Blue"
Value="Blue"
GroupName="Colors"
AutomationId="BlueRadioButton"
IsChecked="{Binding IsBlueChecked, Mode=TwoWay}"/>
</VerticalStackLayout>

<VerticalStackLayout Spacing="5">
<HorizontalStackLayout
Spacing="10">
<CheckBox IsChecked="{Binding IsVisible}"
AutomationId="VisibilityCheckBox"/>
<Label Text="Is Visible"
VerticalOptions="Center"/>
</HorizontalStackLayout>
<HorizontalStackLayout Spacing="10">
<CheckBox
IsChecked="{Binding HasShadow}"
AutomationId="ShadowCheckBox"/>
<Label Text="Has Shadow"
VerticalOptions="Center"/>
</HorizontalStackLayout>

<Label Text="Flow Direction:"
FontAttributes="Bold"
FontSize="15"/>
<StackLayout Orientation="Horizontal"
Spacing="10">

<CheckBox x:Name="FlowDirectionRTLCheckBox"
AutomationId="FlowDirectionRTLCheckBox"
IsChecked="False"
CheckedChanged="OnFlowDirectionCheckBoxChanged"/>
<Label Text="RTL"
VerticalOptions="Center"/>
</StackLayout>

</VerticalStackLayout>
</StackLayout>
</Grid>
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
using System;
using Microsoft.Maui.Controls;

namespace Maui.Controls.Sample
{
public class BoxViewControlPage : NavigationPage
{
private BoxViewViewModel _viewModel;

public BoxViewControlPage()
{
_viewModel = new BoxViewViewModel();
PushAsync(new BoxViewControlMainPage(_viewModel));
}
}

public partial class BoxViewControlMainPage : ContentPage
{
private BoxViewViewModel _viewModel;

public BoxViewControlMainPage(BoxViewViewModel viewModel)
{
InitializeComponent();
_viewModel = viewModel;
BindingContext = _viewModel;
}

private void OnFlowDirectionCheckBoxChanged(object sender, CheckedChangedEventArgs e)
{
if (e.Value)
{
_viewModel.FlowDirection = FlowDirection.RightToLeft;
}
else
{
_viewModel.FlowDirection = FlowDirection.LeftToRight;
}
}

private void OnColorRadioButtonChanged(object sender, EventArgs e)
{
if (sender is RadioButton radioButton && radioButton.IsChecked)
{
switch (radioButton.Value.ToString())
{
case "Red":
_viewModel.Color = Colors.Red;
break;
case "Blue":
_viewModel.Color = Colors.Blue;
break;
default:
_viewModel.Color = Colors.Transparent;
break;
}
}
}

private void OnCornerRadiusEntryChanged(object sender, TextChangedEventArgs e)
{
if (string.IsNullOrWhiteSpace(e.NewTextValue))
return;

var parts = e.NewTextValue.Split(',');

if (parts.Length != 4)
return;

if (float.TryParse(parts[0].Trim(), out float topLeft) &&
float.TryParse(parts[1].Trim(), out float topRight) &&
float.TryParse(parts[2].Trim(), out float bottomLeft) &&
float.TryParse(parts[3].Trim(), out float bottomRight))
{
_viewModel.CornerRadius = new CornerRadius(topLeft, topRight, bottomLeft, bottomRight);
}
}

private void OnResetChangesClicked(object sender, EventArgs e)
{
BindingContext = _viewModel = new BoxViewViewModel();
}

private void OnOpacityChanged(object sender, TextChangedEventArgs e)
{
if (double.TryParse(e.NewTextValue, out double value))
{
if (value >= 0 && value <= 1)
_viewModel.Opacity = value;
}
}
}
}
Loading