我想知道,是否有可能将 社区工具包“popup尺寸,以便自动确定其内容的大小? 例如,该清单载有一份与项目清单相符的清单。 如果在设计时间(而不是运行时间)上添加新的项目,我可以打开防波编码的背面,使登峰更像<代码>Size = 新的(200,300);。 ->Size = 新的(200,350);
,但如果人口充裕,其面积自动延伸到内容的大小,则会更好。
仅需要再次澄清:只谈论静态内容,其规模不会在运行时间发生变化,但可以在设计时间进行大量细化试验,并不想随时间更新人口规模。 成就
我想知道,是否有可能将 社区工具包“popup尺寸,以便自动确定其内容的大小? 例如,该清单载有一份与项目清单相符的清单。 如果在设计时间(而不是运行时间)上添加新的项目,我可以打开防波编码的背面,使登峰更像<代码>Size = 新的(200,300);。 ->Size = 新的(200,350);
,但如果人口充裕,其面积自动延伸到内容的大小,则会更好。
仅需要再次澄清:只谈论静态内容,其规模不会在运行时间发生变化,但可以在设计时间进行大量细化试验,并不想随时间更新人口规模。 成就
<>SamplePopup>xaml for Popup:
<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
Color="Transparent"
x:Class="SampleApp.SamplePopup">
<Grid>
<Frame VerticalOptions="Center">
...
</Frame>
</Grid>
</toolkit:Popup>
Use Grid for Primary Structure,
And VerticalOptions of Secondary Element set to Center.
And, Of course, The Color of Popup set to Transparent.
Hope to solved your problem too! Enjoy!
I use xamarin (NOTE: next month i going to migrate MAUI) the problem is when i get a json response from post request with many fields like string fields and strings[] array, all the string fields ...
We have a Windows Server 2016 machine that we use to build our Xamarin projects. We recently upgraded our macOS to Ventura and since have not been able to pair Visual Studio to the mac. I have ...
What is the meaning of * (asterisk) in the XAML below? <ColumnDefinition Width="0.07*"/> <Grid Height="100" HorizontalAlignment="Left" Margin="102,134,0,0" Name="grid1" ...
There is a possibility to use C# library with Mono for Android from Java code? It s possible to do it from Objective-C to C# (MonoTouch) with the "--xcode" flag in the mtouch command. But there is an ...
how can I draw into an existing UIImage using monotouch? I load an image: UIImage.FromFile("MyImage.png") Then I want to draw a string and some lines into this image. Does anyone has a code sample? ...
I have defined a UIWebViewDelegate class and instantiated it in the Delegate property of my UIWebView, but the ShouldStartLoad method is not being called when the webview loads a request. What am I ...
I m a C# programmer and want to write an Android app. I m a stubborn curmudgeon and refuse to write Java ever again (after switching to C# six years ago). Besides Mono and MonoDroid (and writing Java)...
in xamarin android why access is denied when i want to BufferedStream my file? fileAddress= "/storage/emulated/0/Download/rename2.pdfl"; Reader = new BufferedStream(File.OpenRead(...