Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StringsSameToVisibleConverter Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]


Namespace:  Microsoft.TeamFoundation.Controls.WPF.Converters
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

[ValueConversionAttribute(typeof(string), typeof(Visibility))]
public class StringsSameToVisibleConverter : IValueConverter

The StringsSameToVisibleConverter type exposes the following members.

Public methodConvertCompare value and parameter (parameter[0]) for exact (StringComparison.Ordinal) string equality. If the strings are both null or are identical, Visibility.Visible is returned. Otherwise Visibility.Collapsed (or Visibility.Hidden if parameter[1] contains "Hidden") is returned. If the parameter contains "Not", "!", or "Invert", the string comparison result is inverted before converting to Visibility.
Public methodConvertBackNot implemented
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft