Export (0) Print
Expand All

PixelFormatConverter.ConvertFromString Method (String)

Attempts to convert a string to a PixelFormat.

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)

public Object ConvertFromString (
	string value
)
public Object ConvertFromString (
	String value
)
public function ConvertFromString (
	value : String
) : Object
You cannot use methods in XAML.

Parameters

value

The string to convert to a PixelFormat.

Return Value

A new instance of PixelFormat.

Exception typeCondition

ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ArgumentException

value could not be converted to a known PixelFormat.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft