.NET MAUI
一种 Microsoft 开源框架,用于构建跨移动设备、平板电脑、台式机的原生设备应用程序。
52 个问题
Is there any way to set IndicatorStackLayout.HorizontalOptions of indicatorView to LayoutOptions.FillAndExpand?
I wrote the following code in the constructor of MainPage.xaml.cs
public MainPage()
{
InitializeComponent();
var sl = (idcView.IndicatorLayout as StackLayout);
sl.HorizontalOptions =LayoutOptions.FillAndExpand;
}
but after running the program, I found that IndicatorStackLayout.HorizontalOptions automatically becomes LayoutOptions.Fill, is there a way to solve this?