Show / Hide Table of Contents

Class ExpandedModeToVisibilityConverter

Converts a double in milliseconds to a TimeSpan string

Inheritance
System.Object
ExpandedModeToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Screenshot
Assembly: Phoenix.Plugin.Screenshot.dll
Syntax
public class ExpandedModeToVisibilityConverter : IValueConverter

Methods

View Source

Convert(Object, Type, Object, CultureInfo)

Tests if in expanded mode it should be visible or not, and returns the Visibility based on it.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The expanded mode value.

System.Type targetType

The target Type (unused).

System.Object parameter

A boolean indicating when I expanded mode it should be visible or not.

System.Globalization.CultureInfo culture

The culture info (unused).

Returns
Type Description
System.Object

If control should be visible in expanded mode, return Visible, if not, return Collapsed.

View Source

ConvertBack(Object, Type, Object, CultureInfo)

This method is not implemented.

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

Value (unused).

System.Type targetType

TargetTypes (unused).

System.Object parameter

Parameter (unused).

System.Globalization.CultureInfo culture

Culture (unused).

Returns
Type Description
System.Object

Nothing, it throws a NotImplementedException.

Implements

System.Windows.Data.IValueConverter
  • View Source
In This Article
Back to top Generated by DocFX