|
<sfPopup:SfPopupLayout x:Name="popup" StaysOpen="True" Opening="Popup_Opening">
<sfPopup:SfPopupLayout.PopupView>
<sfPopup:PopupView>
<sfPopup:PopupView.ContentTemplate>
<DataTemplate>
<StackLayout Padding="15" VerticalOptions="CenterAndExpand">
<inputLayout:SfTextInputLayout Hint="Mail Adresi">
<Entry x:Name="Entry_EmailReset" Keyboard="Email" />
</inputLayout:SfTextInputLayout>
</StackLayout>
</DataTemplate>
</sfPopup:PopupView.ContentTemplate>
</sfPopup:PopupView>
</sfPopup:SfPopupLayout.PopupView>
</sfPopup:SfPopupLayout>
//Code behind private void Popup_Opening(object sender, Syncfusion.XForms.Core.CancelEventArgs e) {
var nativeObject = (object)popup.GetType().GetRuntimeProperties().FirstOrDefault(x => x.Name.Equals("NativeObject")).GetValue(popup);
var formsPopupviewContentTemplate = (StackLayout)nativeObject.GetType().GetRuntimeFields().FirstOrDefault(x => x.Name.Equals("formsPopupViewContentTemplate")).GetValue(nativeObject);
var entry = formsPopupviewContentTemplate.FindByName("Entry_EmailReset");
} |