The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

BooleanToVisibilityHint Enum

Summary

Enum that hints at the visibility of a ui element.
Namespace
ReactiveUI
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["BooleanToVisibilityHint"] class Type type-node

Syntax

[SuppressMessage("Name", "CA1714: Flags enums should have plural names", Justification = "For legacy support")]
[Flags]
public enum BooleanToVisibilityHint

Attributes

Type Description
SuppressMessageAttribute
FlagsAttribute

Fields

Name Constant Value Summary
Inverse 2
Inverse the action of the boolean type conversion, when it's true collapse the visibility.
static
None 0
Do not modify the boolean type conversion from it's default action of using the Visibility.Collapsed.
static
UseHidden 4
Use the hidden version rather than the Collapsed.
static

Extension Methods

Name Value Summary
BindValidation<BooleanToVisibilityHint, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<BooleanToVisibilityHint, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<BooleanToVisibilityHint, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<BooleanToVisibilityHint, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<BooleanToVisibilityHint, TViewModel, TViewProperty>(TViewModel?, Expression<Func<BooleanToVisibilityHint, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<BooleanToVisibilityHint, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<BooleanToVisibilityHint, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<BooleanToVisibilityHint, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<BooleanToVisibilityHint, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<BooleanToVisibilityHint, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<BooleanToVisibilityHint, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
With<BooleanToVisibilityHint, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.