PageTheme.TestDeviceFilter(String) Method

Definition

Tests whether a device filter applies to the Page control that the instance of the PageTheme class is associated with.

public:
 bool TestDeviceFilter(System::String ^ deviceFilterName);
public bool TestDeviceFilter (string deviceFilterName);
member this.TestDeviceFilter : string -> bool
Public Function TestDeviceFilter (deviceFilterName As String) As Boolean

Parameters

deviceFilterName
String

The string name of the device filter to check.

Returns

Boolean

true if deviceFilterName applies to the page; otherwise; false.

Applies to