public Div GetProfilePropertyDiv(string propertyName) { if (PopUpFrame != null) { return(PopUpFrame.Div(Find.ById(s => s.EndsWith("ManageUsers_Profile_ProfileProperties_" + propertyName)))); } return(IEInstance.Div(Find.ById(s => s.EndsWith("ManageUsers_Profile_ProfileProperties_" + propertyName)))); }
public Div GetPropertyEditorRow(string propertyName) { if (PopUpFrame != null) { return(PopUpFrame.Div(Find.ById(s => s.EndsWith("EditProfileDefinition_Wizard_Properties_" + propertyName)))); } return(IEInstance.Div(Find.ById(s => s.EndsWith("EditProfileDefinition_Wizard_Properties_" + propertyName)))); }
public TextField GetProfilePropertyTextField(string propertyName) { if (PopUpFrame != null) { return(PopUpFrame.TextField(Find.ByName(s => s.EndsWith("$ManageUsers$Profile$ProfileProperties$" + propertyName + "$" + propertyName)))); } return(IEInstance.TextField(Find.ByName(s => s.EndsWith("$ManageUsers$Profile$ProfileProperties$" + propertyName + "$" + propertyName)))); }
public Frame GetDialog(string dialogName) { if (PopUpFrame != null) { return(PopUpFrame.Frame(Find.BySrc(s => s.Contains("DialogName=" + dialogName)))); } return(IEInstance.Frame(Find.BySrc(s => s.Contains("DialogName=" + dialogName)))); }
public TElement FindElement <TElement>(Constraint findBy) where TElement : Element { if (PopUpFrame != null) { return(PopUpFrame.ElementOfType <TElement>(findBy)); } return(IEInstance.ElementOfType <TElement>(findBy)); }
private void Registration_Click(object sender, MouseButtonEventArgs e) { PopUpFrame popup = new PopUpFrame(); popup.Show(); var window = Window.GetWindow(this); window.Close(); }
private void ChatButton_Clicked(object sender, EventArgs e) { var lbl = new Label { Text = "ChatUi" }; lbl.HorizontalOptions = lbl.VerticalOptions = LayoutOptions.Center; var popUp = new PopUpFrame(lbl); PopupNavigation.Instance.PushAsync(popUp); }
private void ExpandButton_Clicked(object sender, EventArgs e) { var tmpWebView = new WebView(); var htmlSource = new HtmlWebViewSource(); htmlSource.Html = htmlString; tmpWebView.Source = htmlSource; var popUp = new PopUpFrame(tmpWebView); PopupNavigation.Instance.PushAsync(popUp); }