DefaultDisplayMode.ContextCondition Property
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets a value that indicates whether the context condition displays a default mode.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Property ContextCondition As Func(Of HttpContextBase, Boolean)
Get
Set
'Usage
Dim instance As DefaultDisplayMode
Dim value As Func(Of HttpContextBase, Boolean)
value = instance.ContextCondition
instance.ContextCondition = value
public Func<HttpContextBase, bool> ContextCondition { get; set; }
public:
property Func<HttpContextBase^, bool>^ ContextCondition {
Func<HttpContextBase^, bool>^ get ();
void set (Func<HttpContextBase^, bool>^ value);
}
member ContextCondition : Func<HttpContextBase, bool> with get, set
function get ContextCondition () : Func<HttpContextBase, boolean>
function set ContextCondition (value : Func<HttpContextBase, boolean>)
Property Value
Type: System.Func<HttpContextBase, Boolean>
true if the context condition displays a default mode; otherwise, false.