EAPCtrlUtilsSetOpacity Method |
Set CSS opacity on the specified element. Note that the style to use for opacity as well as the value
are browser-specific.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void SetOpacity(
IAppContext cxt,
WebControl ctrl,
int opacity
)
Public Shared Sub SetOpacity (
cxt As IAppContext,
ctrl As WebControl,
opacity As Integer
)
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context used to determine the current browser. If no provided all opacity styles are
set to ensure opacity regardless of browser.
- ctrl
- Type: System.Web.UI.WebControlsWebControl
The control in question. - opacity
- Type: SystemInt32
The opacity, a value between 0 and 100 where 100 is fully opaque and zero is fully transparent.
See Also