xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:PneumaticDeveloper.Views"
xmlns:sfPopup="clr-namespace:Syncfusion.XForms.PopupLayout;assembly=Syncfusion.SfPopupLayout.XForms"
x:Name="this"
x:Class="PneumaticDeveloper.Views.HomeView">
MY CODE
public HomeView()
{
InitializeComponent();
popupLayout.PopupView.AnimationMode = AnimationMode.SlideOnLeft;
popupLayout.PopupView.ShowHeader = false;
popupLayout.PopupView.ShowFooter = false;
popupLayout.PopupView.PopupStyle.BorderThickness = 0;
popupLayout.PopupView.PopupStyle.BorderColor = Color.FromHex("333333");
popupLayout.PopupView.PopupStyle.CornerRadius = 0;
popupLayout.PopupView.WidthRequest = 250;
popupLayout.PopupView.HeightRequest = 50;
loading.Start();
listViewFile.ItemsSource = listFiles;
listViewFile.ItemSelected += ListViewFile_ItemSelected;
CheckFolderAsync();
templateView = new DataTemplate(() =>
{
popupContent = new StackLayout
{
BackgroundColor = Color.White,
Orientation = StackOrientation.Vertical,
};
FileOptionView fileOption = new FileOptionView();
popupContent.Children.Add(fileOption);
return popupContent;
});
popupLayout.PopupView.ContentTemplate = templateView;
}