Visibility:
VISIBILITY DNN Theme Object
Generated Skin File: No Theme Created
Displays a visibility control for the module allowing users to show or hide a given module on the page.
Current Version 01.00.00
Include VISIBILITY in a Theme
ASCX
<%@ Register TagPrefix="dnn" TagName="Visibility" Src="~/Admin/Containers/Visibility.ascx" %>
<dnn:Visibility runat="server" ID="Visibility" />
HTML Token
HTML Object Token
Attributes
|
Attribute
|
Description
|
Default
|
Possible Values
|
DNN Version
|
| BorderWidth |
|
Sets the border width of the icon |
String |
01.00.00 |
| MinIcon |
|
Override image for the default minimize icon. The expected folder of the image is the folder the container file resides in |
String |
01.00.00 |
| MaxIcon |
|
Override image for the default maximize icon. The expected folder of the image is the folder the container file resides in |
String |
01.00.00 |
| AnimationFrames |
|
Number of frames to use when animating the opening and closing of the container. The default number is 5 |
Integer |
01.00.00 |
Examples
BorderWidth
<%@ Register TagPrefix="dnn" TagName="Visibility" Src="~/Admin/Containers/Visibility.ascx" %>
<dnn:Visibility runat="server" ID="Visibility" BorderWidth="0" />
Markdown
---
uid: visibility
locale: en
title: VISIBILITY Theme object
dnnversion: 09.02.00
previous-topic: container-objects
next-topic: * legacy
related-topics: theme-objects,themes,create-theme
links:
---
# VISIBILITY Theme Object Introduction
Displays a visibility control for the module allowing users to show or hide a given module on the page.
**Current Version:** 01.00.00
## Include in Theme
### ASCX
``` html
<%@ Register TagPrefix="dnn" TagName="Visibility" Src="~/Admin/Containers/Visibility.ascx" %>
<dnn:Visibility runat="server" ID="Visibility" />
```
### HTML Token
### HTML Object Token
``` html
```
| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| BorderWidth | | Sets the border width of the icon | String | 01.00.00 |
| MinIcon | | Override image for the default minimize icon. The expected folder of the image is the folder the container file resides in | String | 01.00.00 |
| MaxIcon | | Override image for the default maximize icon. The expected folder of the image is the folder the container file resides in | String | 01.00.00 |
| AnimationFrames | | Number of frames to use when animating the opening and closing of the container. The default number is 5 | Integer | 01.00.00 |
## Examples:
### BorderWidth
~~~html
<dnn:Visibility runat="server" ID="Visibility" BorderWidth="0" />
~~~
Skin Object Examples
[PLACEHOLDER]