如何将重复的Xaml代码转换为C#代码以防止重复

时间:2019-04-25 04:00:19

标签: c# xaml xamarin.forms

这是我的 Xaml

<customRenderes:NavigationImageButton 
       Source="IconFAB"
       Command="{Binding AddCommand}"
       AbsoluteLayout.LayoutFlags="PositionProportional"
       AbsoluteLayout.LayoutBounds="1.0,1.0,-1,-1"
       Margin="10"
       Opacity="0.4"/>

我需要将其转换为C#代码,以便将其添加到我创建的basecontent客户页面中,以防止重复

0 个答案:

没有答案
相关问题