Facebook Client

BooleanToVisibilityConverter Class

namespace Client.Controls
public classBooleanToVisibilityConverter
Overview

Translates boolean values to Visibility constants.

Supported in:
  • Windows Store
  • Windows Phone 8
Summary
Constructors
public .ctor()
Properties
bool public IsReversed
Set to true to convert true to Collapsed and false to Visible.
Methods
object public Convert(object value, Type targetType, object parameter, CultureInfo culture)
Converts a boolean value to a Visibility constant.
object public Convert(object value, Type targetType, object parameter, string language)
Converts a boolean value to a Visibility constant.
object public ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Not implemented.
object public ConvertBack(object value, Type targetType, object parameter, string language)
Not implemented.
Constructors
public .ctor()
Properties
public IsReversed
Set to true to convert true to Collapsed and false to Visible.
Methods
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Converts a boolean value to a Visibility constant.
Parameters
value The source data being passed to the target.
targetType The type to convert to.
parameter Unused.
culture The culture to use in the converter (unused).
Returns
A Visibility constant.
Supported only in:
  • Windows Phone 8
public object Convert(object value, Type targetType, object parameter, string language)
Converts a boolean value to a Visibility constant.
Parameters
value The source data being passed to the target.
targetType The type to convert to.
parameter Unused.
language The culture to use in the converter (unused).
Returns
A Visibility constant.
Supported only in:
  • Windows Store
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Not implemented.
Parameters
value
targetType
parameter
culture
Supported only in:
  • Windows Phone 8
public object ConvertBack(object value, Type targetType, object parameter, string language)
Not implemented.
Parameters
value
targetType
parameter
language
Supported only in:
  • Windows Store