[]
Converts a parameter view model to a Visibility value.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object | value | The parameter view model value. |
Type | targetType | The type of the binding target property. |
object | parameter | A string indicating the editor type: "simpleEditor" for GrapeCity.Viewer.Common.ViewModel.VisualRepresentation.SingleValue, "comboBoxEditor" for GrapeCity.Viewer.Common.ViewModel.VisualRepresentation.SelectOneFromMany, "multivalueEditor" for GrapeCity.Viewer.Common.ViewModel.VisualRepresentation.MultiValue, "multilineEditor" for GrapeCity.Viewer.Common.ViewModel.VisualRepresentation.MultiLine. In other cases, the visibility is Collapsed. |
CultureInfo | culture | The culture to use in the converter. |
Type | Description |
---|---|
object | A Visibility value based on the parameter's visual representation and specified editor type. |