Export (0) Print
Expand All

PresentationTraceSources.GetTraceLevel Method

Gets the value of the TraceLevel attached property for a specified element.

Namespace:  System.Diagnostics
Assembly:  WindowsBase (in WindowsBase.dll)

public static PresentationTraceLevel GetTraceLevel(
	Object element
)

Parameters

element
Type: System.Object

The element from which the property value is read.

Return Value

Type: System.Diagnostics.PresentationTraceLevel
The TraceLevel property value for the element.

GetTraceLevel is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft