GetTraceLevel Method
Collapse the table of content
Expand the table of content

PresentationTraceSources.GetTraceLevel Method (Object)

 

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
Available since 3.0
Return to top
Show:
© 2016 Microsoft