private void LoadBuildParamaters() { ResourceOption resourceOps = new ResourceOption(); foreach (DataItemModel arg in resourceOps.ScriptParameterOptions()) { TextBoxItem item = new TextBoxItem { Text = arg.ItemKey.ToString(), ToolTip = arg.DisplayValue, IsReadOnly = true, BorderThickness = new Thickness(0) }; this.uxParametersList.Children.Add(item); } }