205 references to Visible
PresentationCore (17)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
290
if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.
Visible
) )
Core\CSharp\MS\Internal\KnownBoxes.cs (2)
32
internal static object VisibleBox = Visibility.
Visible
;
38
if (value == Visibility.
Visible
)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
608
if (visibility != Visibility.
Visible
)
Core\CSharp\System\Windows\UIElement.cs (7)
2732
if(this.Visibility == Visibility.
Visible
)
3006
return (value == Visibility.
Visible
) || (value == Visibility.Hidden) || (value == Visibility.Collapsed);
3023
case Visibility.
Visible
:
3884
bool isVisible = (Visibility == Visibility.
Visible
);
4182
return Visibility.
Visible
;
4195
Debug.Assert(value == Visibility.
Visible
|| value == Visibility.Hidden || value == Visibility.Collapsed);
4199
case Visibility.
Visible
:
Core\CSharp\System\Windows\UIElement3D.cs (6)
685
return (value == Visibility.
Visible
) || (value == Visibility.Hidden) || (value == Visibility.Collapsed);
702
case Visibility.
Visible
:
1078
bool isVisible = (Visibility == Visibility.
Visible
);
1348
return Visibility.
Visible
;
1361
Debug.Assert(value == Visibility.
Visible
|| value == Visibility.Hidden || value == Visibility.Collapsed);
1365
case Visibility.
Visible
:
PresentationFramework (69)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
346
_rbw.Value.Visibility = Visibility.
Visible
;
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
183
Visibility desired = AdornedElement.IsVisible ? Visibility.
Visible
: Visibility.Collapsed;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
59
findToolBarHost.Visibility = Visibility.
Visible
;
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
902
Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.
Visible
,
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
404
if (childElement.Visibility != Visibility.
Visible
)
src\Framework\System\Windows\Application.cs (2)
1825
if (window.Visibility != Visibility.
Visible
)
2562
w.Visibility = Visibility.
Visible
;
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (2)
46
return (bValue) ? Visibility.
Visible
: Visibility.Collapsed;
61
return (Visibility)value == Visibility.
Visible
;
src\Framework\System\Windows\Controls\DataGrid.cs (5)
1155
if (row.DetailsVisibility == Visibility.
Visible
&& row.DetailsPresenter != null)
1337
return SelectedItems.Contains(item) ? Visibility.
Visible
: Visibility.Collapsed;
1339
return Visibility.
Visible
;
3797
_placeholderVisibility = Visibility.
Visible
;
3972
row.DetailsVisibility == Visibility.
Visible
&&
src\Framework\System\Windows\Controls\DataGridColumn.cs (4)
1508
new FrameworkPropertyMetadata(Visibility.
Visible
, new PropertyChangedCallback(OnVisibilityPropertyChanged)));
1527
if (oldVisibility != Visibility.
Visible
&& newVisibility != Visibility.
Visible
)
1545
return Visibility == Visibility.
Visible
;
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
55
return visible ? Visibility.
Visible
: Visibility.Collapsed;
src\Framework\System\Windows\Controls\DataGridRow.cs (3)
732
visibility = hasDetailsTemplate && isRealItem ? Visibility.
Visible
: Visibility.Collapsed;
735
visibility = row.IsSelected && hasDetailsTemplate && isRealItem ? Visibility.
Visible
: Visibility.Collapsed;
1351
get { return _detailsPresenter != null && _detailsPresenter.Visibility == Visibility.
Visible
; }
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
113
_toolBarHost.Visibility = IsToolBarVisible ? Visibility.
Visible
: Visibility.Collapsed;
945
_toolBarHost.Visibility = enable ? Visibility.
Visible
: Visibility.Collapsed;
1765
viewer._toolBarHost.Visibility = (bool)e.NewValue ? Visibility.
Visible
: Visibility.Collapsed;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
483
_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ? Visibility.
Visible
: Visibility.Hidden;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3167
return Visibility.
Visible
;
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (2)
79
if (computedVerticalScrollBarVisibility == Visibility.
Visible
)
108
return Visibility.
Visible
;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
1085
childButton.Visibility = Visibility.
Visible
;
1260
childButton.Visibility = Visibility.
Visible
;
1304
childButton.Visibility = Visibility.
Visible
;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
98
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.
Visible
));
522
_leftGripper.Visibility = Visibility.
Visible
;
540
_rightGripper.Visibility = Visibility.
Visible
;
572
bool oldIsVisible = (((Visibility)e.OldValue) == Visibility.
Visible
);
573
bool newIsVisible = (((Visibility)e.NewValue) == Visibility.
Visible
);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
556
Visibility dragIndicatorVisibility = shouldDisplayDragIndicator ? Visibility.
Visible
: Visibility.Collapsed;
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (3)
176
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.
Visible
));
657
_topGripper.Visibility = Visibility.
Visible
;
673
_bottomGripper.Visibility = Visibility.
Visible
;
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
675
else if (Visibility != Visibility.
Visible
)
677
Visibility = Visibility.
Visible
;
src\Framework\System\Windows\Controls\ScrollViewer.cs (14)
264
|| ( _scrollVisibilityX == Visibility.
Visible
277
|| (_scrollVisibilityY == Visibility.
Visible
573
new FrameworkPropertyMetadata(Visibility.
Visible
));
591
new FrameworkPropertyMetadata(Visibility.
Visible
));
1196
Visibility vv = (vsbv == ScrollBarVisibility.Visible) ? Visibility.
Visible
: Visibility.Collapsed;
1197
Visibility hv = (hsbv == ScrollBarVisibility.Visible) ? Visibility.
Visible
: Visibility.Collapsed;
1237
if (_scrollVisibilityX != Visibility.
Visible
)
1239
_scrollVisibilityX = Visibility.
Visible
;
1246
if (_scrollVisibilityY != Visibility.
Visible
)
1248
_scrollVisibilityY = Visibility.
Visible
;
1282
if (_scrollVisibilityX != Visibility.
Visible
)
1284
_scrollVisibilityX = Visibility.
Visible
;
1290
if (_scrollVisibilityY != Visibility.
Visible
)
1292
_scrollVisibilityY = Visibility.
Visible
;
src\Framework\System\Windows\Controls\TabControl.cs (1)
473
if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.
Visible
)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
9762
Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.
Visible
;
9778
Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.
Visible
;
10479
Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.
Visible
;
10495
Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.
Visible
;
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1007
case Visibility.
Visible
:
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (1)
26
new PropertyMetadata(Visibility.
Visible
));
src\Framework\System\Windows\Window.cs (5)
212
UpdateVisibilityProperty(Visibility.
Visible
);
2207
case Visibility.
Visible
:
5245
UpdateVisibilityProperty(Visibility.
Visible
);
5577
if (newValue == Visibility.
Visible
)
7084
case Visibility.
Visible
:
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
168
if (SeparatorVisibility == Visibility.
Visible
)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
162
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.
Visible
));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
66
if (SeparatorVisibility == Visibility.
Visible
&& SeparatorBrush != null)
84
if (SeparatorVisibility == Visibility.
Visible
&& SeparatorBrush != null)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
162
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.
Visible
));
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
260
if (SeparatorVisibility == Visibility.
Visible
)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
162
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.
Visible
));
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
182
if (SeparatorVisibility == Visibility.
Visible
)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
162
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.
Visible
));
System.Activities.Core.Presentation (18)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (4)
38
DependencyProperty.Register("TextBoxVisibility", typeof(Visibility), typeof(CaseKeyBoxViewModel), new UIPropertyMetadata(Visibility.
Visible
));
180
this.ComboBoxVisibility = Visibility.
Visible
;
195
this.TextBoxVisibility = Visibility.
Visible
;
200
this.ComboBoxVisibility = Visibility.
Visible
;
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
309
if (control != null && control.Visibility == Visibility.
Visible
)
System\Activities\Core\Presentation\CaseLabelVisibilityConverter.cs (1)
23
return Visibility.
Visible
;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
188
item.Visibility = Visibility.
Visible
;
206
item.Visibility = Visibility.
Visible
;
247
setAsStartNodeMenuItem.Visibility = Visibility.
Visible
;
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (1)
165
this.ExpressionButtonVisibility = expressionSpecified ? Visibility.
Visible
: Visibility.Collapsed;
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
52
Visibility = Visibility.
Visible
,
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
223
this.ExpressionButtonVisibility = expressionSpecified ? Visibility.
Visible
: Visibility.Collapsed;
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (1)
47
this.dropTarget.Visibility = Visibility.
Visible
;
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
381
this.addNewCaseLabel.Visibility = Visibility.
Visible
;
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
395
this.addNewTransitionLabel.Visibility = Visibility.
Visible
;
System\Activities\Core\Presentation\VerticalConnector.xaml.cs (1)
42
this.dropTarget.Visibility = Visibility.
Visible
;
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
264
this.WPF_DataGrid.Columns[DynamicArgumentDesigner.DirectionColumn].Visibility = Visibility.
Visible
;
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
137
this.emptyContent.Visibility = null == this.TypesToExpand || 0 == this.TypesToExpand.Count ? Visibility.
Visible
: Visibility.Collapsed;
System.Activities.Presentation (92)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (2)
247
this.defaultDisplayNameBox.Visibility = Visibility.
Visible
;
258
this.defaultDisplayNameReadOnlyControl.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (7)
252
this.DockedAnnotation.Visibility = Visibility.
Visible
;
257
this.Indicator.Visibility = Visibility.
Visible
;
390
this.DockedAnnotation.Visibility = Visibility.
Visible
;
395
this.Indicator.Visibility = Visibility.
Visible
;
514
this.Indicator.Visibility = Visibility.
Visible
;
544
this.Indicator.Visibility = Visibility.
Visible
;
568
this.DockedAnnotation.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (2)
55
this.undockButton.Visibility = Visibility.
Visible
;
56
this.border.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryContainerAutomationPeer.cs (1)
114
advancedExpander.Visibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (3)
36
return ((visibility == Visibility.
Visible
) ^ this.invertBoolean);
47
result = Visibility.
Visible
;
54
result = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityHiddenConverter.cs (2)
37
bool result = visibility == Visibility.
Visible
;
52
return show ? Visibility.
Visible
: Visibility.Hidden;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (1)
26
private Visibility nonzeroValue = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (3)
79
return value == Visibility.
Visible
? true : false;
89
return Visibility.
Visible
;
95
return (object)(value ? Visibility.
Visible
: Visibility.Collapsed);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\VisibilityOrConverter.cs (2)
26
if (!(value is Visibility) || ((Visibility)value) != Visibility.
Visible
)
32
return Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
378
if (this.Visibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
189
if (container != null && container.Visibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (4)
160
if (reference == null || (reference.Focusable && reference.Visibility == Visibility.
Visible
))
174
if (child.Visibility != Visibility.
Visible
)
208
if (parent.Visibility == Visibility.
Visible
&& parent is T && parent.Focusable)
261
if (parent.Visibility != Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (1)
151
control.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
884
this.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
116
StackTraceVisibility = string.IsNullOrEmpty(stackTrace) ? Visibility.Collapsed : Visibility.
Visible
,
196
if (this.StackTraceVisibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\ExpandButtonVisibilityConverter.cs (1)
42
Visibility visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (1)
30
connectorLabelVisibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
739
Dispatcher.CurrentDispatcher.BeginInvoke(this.onSetDesignerContentVisibilityDelegate, DispatcherPriority.ApplicationIdle, Visibility.
Visible
);
1023
Mouse.OverrideCursor = (state == Visibility.
Visible
? null : Cursors.Wait);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (2)
153
result = Visibility.
Visible
;
163
result = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\VerticalConnector.xaml.cs (1)
26
this.dropTarget.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
278
if (this.Visibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (16)
260
return result ? Visibility.
Visible
: Visibility.Collapsed;
277
return result ? Visibility.
Visible
: Visibility.Collapsed;
456
entry.Visibility = Visibility.
Visible
;
572
visible = ((MenuItem)contextMenuItem).Visibility == Visibility.
Visible
;
580
separator.Visibility = visible ? Visibility.
Visible
: Visibility.Collapsed;
590
.Any(item => item.Visibility == Visibility.
Visible
) ? Visibility.
Visible
: Visibility.Collapsed;
823
Visibility.
Visible
: Visibility.Collapsed;
854
Visibility.
Visible
: Visibility.Collapsed;
868
Visibility.
Visible
: Visibility.Collapsed;
895
Visibility.
Visible
: Visibility.Collapsed;
923
Visibility.
Visible
: Visibility.Collapsed;
952
Visibility.
Visible
: Visibility.Collapsed;
1033
item.Visibility = Visibility.
Visible
;
1075
item.Visibility = Visibility.
Visible
;
1546
item.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (14)
123
this.buttonPanMode.Visibility = this.IsPanModeEnabled ? Visibility.
Visible
: Visibility.Collapsed;
1010
window.Visibility = button.IsChecked.Value ? Visibility.
Visible
: Visibility.Hidden;
1030
this.bottomPanel.Visibility = Visibility.
Visible
;
1032
this.splitter.Visibility = Visibility.
Visible
;
1033
uiElement.Visibility = Visibility.
Visible
;
1256
this.panModeStatusBarItem.Visibility = CheckItemVisibility(visibility, ShellBarItemVisibility.PanMode) ? Visibility.
Visible
: Visibility.Collapsed;
1259
Visibility zoomVisibility = CheckItemVisibility(visibility, ShellBarItemVisibility.Zoom) ? Visibility.
Visible
: Visibility.Collapsed;
1266
this.minimapStatusBar.Visibility = CheckItemVisibility(visibility, ShellBarItemVisibility.MiniMap) ? Visibility.
Visible
: Visibility.Collapsed;
1269
this.shellBar.Visibility = (ShellBarItemVisibility.None == visibility) ? Visibility.Collapsed : Visibility.
Visible
;
1278
this.breadCrumbListBox.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.Breadcrumb) ? Visibility.
Visible
: Visibility.Collapsed;
1279
this.expandAllButton.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.ExpandAll) ? Visibility.
Visible
: Visibility.Collapsed;
1280
this.collapseAllButton.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.CollapseAll) ? Visibility.
Visible
: Visibility.Collapsed;
1316
item.Visibility = visible ? Visibility.
Visible
: Visibility.Collapsed;
1319
if (item.Visibility != Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
92
if (null != window && null != window.Surface && window.Visibility == Visibility.
Visible
)
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
20
DependencyProperty.Register("Visibility", typeof(Visibility), typeof(FilterableData), new UIPropertyMetadata(Visibility.
Visible
));
System.Activities.Presentation\System\Activities\Presentation\View\SpacerPlaceholder.xaml.cs (1)
26
this.dropTarget.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (8)
147
this.LocalAssembly.Visibility = Visibility.
Visible
;
448
this.visibility = Visibility.
Visible
;
750
assemblyVisibility = Visibility.
Visible
;
760
namespaceVisibility = Visibility.
Visible
;
767
entry.Visibility = Visibility.
Visible
;
771
entry.Visibility = Visibility.
Visible
;
772
assemblyVisibility = Visibility.
Visible
;
774
namespaceVisibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (5)
191
if (this.typeComboBox.Visibility == Visibility.
Visible
&& this.typeComboBox.IsDropDownOpen)
506
ctrl.typeComboBox.Visibility = Visibility.
Visible
;
513
ctrl.typeTextBlock.Visibility = Visibility.
Visible
;
571
this.typeTextBlock.Visibility = Visibility.
Visible
;
581
this.typeComboBox.Visibility = Visibility.
Visible
;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
840
Spacer.Visibility = Visibility.
Visible
;
856
Placeholder.Visibility = Visibility.
Visible
;
1157
SpacerPlaceholder spacerPlaceholder = new SpacerPlaceholder { MinHeight = 20, Visibility = Visibility.
Visible
, AllowDrop = true };
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
299
this.hintTextGrid.Visibility = Visibility.
Visible
;
447
this.hintTextGrid.Visibility = (this.Items.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.
Visible
: Visibility.Collapsed;