BooleanToVisibilityConverter.Convert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a Boolean value to a Visibility enumeration value.
public:
virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- value
- Object
The Boolean value to convert. This value can be a standard Boolean value or a nullable Boolean value.
- targetType
- Type
This parameter is not used.
- parameter
- Object
This parameter is not used.
- culture
- CultureInfo
This parameter is not used.
Returns
Visible if value
is true
; otherwise, Collapsed.
Implements
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.