WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MemoryConverter

    Show / Hide Table of Contents

    Class MemoryConverter

    Represents a class for converting values

    Inheritance
    System.Object
    MemoryConverter
    Implements
    System.Windows.Data.IValueConverter
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Input
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class MemoryConverter : IValueConverter

    Constructors

    MemoryConverter()

    Declaration
    public MemoryConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Converts the value and stores in memory

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

    Visibility is Collapsed if memory is 0; otherwise, Visible.

    ConvertBack(Object, Type, Object, CultureInfo)

    Throws exception if cant be converted back

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

    Implements

    System.Windows.Data.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved