44 references to VisualBasicEditor
System.Data (44)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (3)
73ExpressionTextBox.RegisterExpressionActivityEditor(VisualBasicEditor.ExpressionLanguageName, typeof(VisualBasicEditor), VisualBasicEditor.CreateExpressionFromString);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (2)
724expressionEditorType = VisualBasicEditor.ExpressionLanguageName; 730expressionEditorType = VisualBasicEditor.ExpressionLanguageName;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
117List<ModelItem> declaredVariables = VisualBasicEditor.GetVariablesInScope(this.baseModelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (34)
53internal static readonly DependencyProperty TextProperty = DependencyProperty.Register("Text", typeof(string), typeof(VisualBasicEditor), 56internal static readonly DependencyProperty ValidationStateProperty = DependencyProperty.Register("ValidationState", typeof(ValidationState), typeof(VisualBasicEditor), 59internal static readonly DependencyProperty EditingStateProperty = DependencyProperty.Register("EditingState", typeof(EditingState), typeof(VisualBasicEditor), 62internal static readonly DependencyProperty HasValidationErrorProperty = DependencyProperty.Register("HasValidationError", typeof(bool), typeof(VisualBasicEditor), 65internal static readonly DependencyProperty ValidationErrorMessageProperty = DependencyProperty.Register("ValidationErrorMessage", typeof(string), typeof(VisualBasicEditor), 68internal static readonly DependencyProperty ExpressionTextProperty = DependencyProperty.Register("ExpressionText", typeof(string), typeof(VisualBasicEditor), 72public static readonly ICommand CompleteWordCommand = new RoutedCommand("CompleteWordCommand", typeof(VisualBasicEditor)); 74public static readonly ICommand GlobalIntellisenseCommand = new RoutedCommand("GlobalIntellisenseCommand", typeof(VisualBasicEditor)); 76public static readonly ICommand ParameterInfoCommand = new RoutedCommand("ParameterInfoCommand", typeof(VisualBasicEditor)); 78public static readonly ICommand QuickInfoCommand = new RoutedCommand("QuickInfoCommand", typeof(VisualBasicEditor)); 80public static readonly ICommand IncreaseFilterLevelCommand = new RoutedCommand("IncreaseFilterLevelCommand", typeof(VisualBasicEditor)); 82public static readonly ICommand DecreaseFilterLevelCommand = new RoutedCommand("DecreaseFilterLevelCommand", typeof(VisualBasicEditor)); 113ExpressionActivityEditor.HintTextProperty.OverrideMetadata(typeof(VisualBasicEditor), new FrameworkPropertyMetadata(SR.ExpressionDefaultText)); 195VisualBasicEditor etb = dp as VisualBasicEditor; 517List<ModelItem> declaredVariables = VisualBasicEditor.GetVariablesInScope(this.OwnerActivity); 667binding.Path = new PropertyPath(VisualBasicEditor.TextProperty); 710static void ValidateExpression(VisualBasicEditor etb) 730VisualBasicEditor textBox = (VisualBasicEditor)dependencyObject; 764get { return (ValidationState)GetValue(VisualBasicEditor.ValidationStateProperty); } 765set { SetValue(VisualBasicEditor.ValidationStateProperty, value); } 986valueExpression = VisualBasicEditor.CreateExpressionFromString(expReturnType, this.Text, UseLocationExpression, validationContext.ParserContext); 1003return VisualBasicEditor.CreateExpressionFromString(type, expressionText, isLocation, new ParserContext()); 1250if (VisualBasicEditor.IsSupportedExpressionType(expression)) 1903internal ExpressionValidationContext(VisualBasicEditor etb) 1908internal void Update(VisualBasicEditor etb) 1999List<ModelItem> arguments = VisualBasicEditor.GetVariablesForArguments(ownerActivity.Root); 2039declaredVariables.AddRange(VisualBasicEditor.GetVariablesForArguments(ownerActivity.Root)); 2044declaredVariables.AddRange(VisualBasicEditor.GetVariablesInScopeWithShadowing(ownerActivity, includeArguments)); 2114VisualBasicEditor etb = values[0] as VisualBasicEditor; 2136VisualBasicEditor etb = values[0] as VisualBasicEditor;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (3)
16public VisualBasicEditorAutomationPeer(VisualBasicEditor owner) 23VisualBasicEditor textBox = this.Owner as VisualBasicEditor;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\VisualBasicExpressionMorphHelper.cs (1)
59newExpression = VisualBasicEditor.CreateExpressionFromString(newType, expressionText, isLocationExpression, new ParserContext());