6 references to TryFindResource
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
LineSeparators\LineSeparatorTag.cs (1)
29
var brush = view.VisualElement.
TryFindResource
("outlining.verticalrule.foreground") as SolidColorBrush;
StringIndentation\StringIndentationTag.cs (1)
36
var brush = view.VisualElement.
TryFindResource
("outlining.verticalrule.foreground") as SolidColorBrush;
PresentationFramework (4)
MS\Internal\Documents\DocumentGridPage.cs (2)
229
_documentContainer.SetCurrentValue(StyleProperty,
TryFindResource
(key));
233
_documentContainer.SetCurrentValue(StyleProperty,
TryFindResource
(typeof(ContentControl)));
System\Windows\Controls\Primitives\Track.cs (2)
624
object buttonHeightResource =
TryFindResource
(SystemParameters.VerticalScrollBarButtonHeightKey);
632
object buttonWidthResource =
TryFindResource
(SystemParameters.HorizontalScrollBarButtonWidthKey);