componentone accordion for asp.net wijmoprerelease.componentone.com/.../asp.lightbox.pdf ·...

140
ComponentOne LightBox for ASP.NET Web Forms

Upload: others

Post on 08-Aug-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

ComponentOne

LightBox for ASP.NET

Web Forms

Page 2: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

Copyright © 1987-2015 GrapeCity, Inc. All rights reserved.

ComponentOne, a division of GrapeCity

201 South Highland Avenue, Third Floor

Pittsburgh, PA 15206 USA

Website: http://www.componentone.com

Sales: [email protected]

Telephone: 1.800.858.2739 or 1.412.681.4343 (Pittsburgh, PA USA Office)

Trademarks

The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc.

All other trademarks used herein are the properties of their respective owners.

Warranty

ComponentOne warrants that the media on which the software is delivered is free from defects in material and

workmanship, assuming normal use, for a period of 90 days from the date of purchase. If a defect occurs during this

time, you may return the defective media to ComponentOne, along with a dated proof of purchase, and

ComponentOne will replace it at no charge. After 90 days, you can obtain a replacement for the defective media by

sending it and a check for $25 (to cover postage and handling) to ComponentOne.

Except for the express warranty of the original media on which the software is delivered is set forth here,

ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the

information contained in this manual is correct as of the time it was written. ComponentOne is not responsible for

any errors or omissions. ComponentOne’s liability is limited to the amount you paid for the product. ComponentOne

is not liable for any special, consequential, or other damages for any reason.

Copying and Distribution

While you are welcome to make backup copies of the software for your own use and protection, you are not

permitted to make copies for the use of anyone else. We put a lot of time and effort into creating this product, and

we appreciate your support in seeing that it is used by licensed users only.

Page 3: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

1

Table of Contents Overview ....................................................................................................................................... 6

Help with ASP.NET Web Forms Edition .................................................................................... 6

Key Features.................................................................................................................................. 6

Quick Start .................................................................................................................................... 8

Step 1 of 3: Adding C1LightBox to the Page ............................................................................. 8

Step 2 of 3: Adding Content to the C1LightBox Control ........................................................... 9

Step 3 of 3: Customizing Appearance and Behavior ............................................................... 10

Design-Time Support .................................................................................................................. 12

Smart Tag ................................................................................................................................ 13

Context Menu ......................................................................................................................... 14

Designer Form ......................................................................................................................... 15

Keyboard Interaction .................................................................................................................. 16

Themes ........................................................................................................................................ 17

Samples ....................................................................................................................................... 19

Task-Based Help .......................................................................................................................... 21

Automatically Playing the LightBox Items .............................................................................. 21

Enabling Buttons in LightBox .................................................................................................. 22

Automatically Sizing the LightBox's Content .......................................................................... 23

Adding Keyboard Navigation to the LightBox ......................................................................... 25

Changing Transition Animations at Run Time ......................................................................... 26

Setting the Text Position at Run Time .................................................................................... 28

Setting the Sequence Counter in the LightBox ....................................................................... 29

Client-Side Reference .................................................................................................................. 30

C1.Web.Wijmo.Controls.4 Assembly .......................................................................................... 31

Namespaces ............................................................................................................................ 31

C1.Web.Wijmo.Controls Namespace.................................................................................. 31

Overview ......................................................................................................................... 31

Classes ............................................................................................................................. 31

C1BaseStateManager .................................................................................................. 31

Overview ................................................................................................................. 32

Members ................................................................................................................. 33

C1TargetControlBase .................................................................................................. 33

Page 4: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

2

Overview ................................................................................................................. 34

Members ................................................................................................................. 34

Methods .................................................................................................................. 39

GetPropertyValue<V> Method ........................................................................... 41

GetScriptDescriptors Method ............................................................................. 42

GetScriptReferences Method ............................................................................. 42

RegisterDesignTimeStyleSheet Method ............................................................. 43

SetPropertyValue<V> Method ............................................................................ 44

Properties ................................................................................................................ 45

CDNDependencyPaths Property ......................................................................... 48

CDNPath Property ............................................................................................... 49

DisplayVisible Property ....................................................................................... 50

EnableCombinedJavaScripts Property ................................................................ 50

Enabled Property ................................................................................................ 51

Theme Property .................................................................................................. 52

ThemeSwatch Property ...................................................................................... 53

UseCDN Property ................................................................................................ 54

WijmoControlMode Property ............................................................................. 55

WijmoCssAdapter Property ................................................................................ 56

WijChartNavigator ...................................................................................................... 56

Overview ................................................................................................................. 57

Members ................................................................................................................. 58

WijChartNavigator Constructor .............................................................................. 58

C1.Web.Wijmo.Controls.C1LightBox Namespace .............................................................. 59

Overview ......................................................................................................................... 59

Classes ............................................................................................................................. 60

C1LightBox .................................................................................................................. 60

Overview ................................................................................................................. 62

Members ................................................................................................................. 64

C1LightBox Constructor .......................................................................................... 72

Properties ................................................................................................................ 73

AutoPlay Property ............................................................................................... 79

AutoPlayMovies Property ................................................................................... 80

AutoSize Property ............................................................................................... 81

Page 5: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

3

ClickPause Property ............................................................................................ 81

CloseOnEscape Property ..................................................................................... 82

CloseOnOuterClick Property ............................................................................... 83

ControlsPosition Property ................................................................................... 83

CounterFormat Property..................................................................................... 84

CounterLimit Property ........................................................................................ 85

CounterType Property ........................................................................................ 85

CtrlButtons Property ........................................................................................... 86

Delay Property .................................................................................................... 87

DialogButtons Property....................................................................................... 88

FlashInstall Property ........................................................................................... 89

FlvPlayer Property ............................................................................................... 89

Items Property .................................................................................................... 90

KeyNav Property ................................................................................................. 91

Loop Property ..................................................................................................... 92

MaxHeight Property ............................................................................................ 92

MaxWidth Property ............................................................................................ 93

Modal Property ................................................................................................... 94

OnClientBeforeClose Property ............................................................................ 95

OnClientBeforeShow Property ............................................................................ 95

OnClientClose Property ....................................................................................... 96

OnClientOpen Property ...................................................................................... 97

OnClientShow Property ...................................................................................... 98

Player Property ................................................................................................... 98

Position Property ................................................................................................ 99

ResizeAnimation Property ................................................................................ 100

RootUrl Property ............................................................................................... 101

ShowControlsOnHover Property ...................................................................... 101

ShowCounter Property ..................................................................................... 102

ShowMovieControls Property ........................................................................... 103

ShowNavButtons Property................................................................................ 104

ShowTimer Property ......................................................................................... 104

SlideDirection Property ..................................................................................... 105

TextHideOption Property .................................................................................. 106

Page 6: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

4

TextPosition Property ....................................................................................... 106

TextShowOption Property ................................................................................ 107

TransAnimation Property .................................................................................. 108

C1LightBoxItem ......................................................................................................... 109

Overview ............................................................................................................... 110

Members ............................................................................................................... 110

C1LightBoxItem Constructor ................................................................................. 111

Properties .............................................................................................................. 112

Height Property ................................................................................................. 112

ImageUrl Property ............................................................................................. 113

LinkUrl Property ................................................................................................ 114

Player Property ................................................................................................. 115

Text Property .................................................................................................... 116

Title Property .................................................................................................... 116

Width Property ................................................................................................. 117

C1LightBoxItemCollection ......................................................................................... 118

Overview ............................................................................................................... 118

Members ............................................................................................................... 119

C1LightBoxItemCollection Constructor ................................................................. 122

ResizeAnimation ....................................................................................................... 122

Overview ............................................................................................................... 123

Members ............................................................................................................... 123

ResizeAnimation Constructor ............................................................................... 124

Properties .............................................................................................................. 124

Animated Property ............................................................................................ 125

Duration Property ............................................................................................. 125

TransitionAnimation ................................................................................................. 126

Overview ............................................................................................................... 127

Members ............................................................................................................... 127

TransitionAnimation Constructor ......................................................................... 128

Properties .............................................................................................................. 128

Animated Property ............................................................................................ 129

Duration Property ............................................................................................. 130

Easing Property ................................................................................................. 130

Page 7: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

5

Enumerations ................................................................................................................ 131

ButtonPosition .......................................................................................................... 131

CounterType ............................................................................................................. 132

CtrlButtons ................................................................................................................ 133

DialogButtons............................................................................................................ 134

PlayerName ............................................................................................................... 135

ResizeMode ............................................................................................................... 136

TextPosition .............................................................................................................. 137

TransitionMode ......................................................................................................... 137

Page 8: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

6

Overview LightBox for ASP.NET Web Forms includes one control, C1LightBox, which lets you easily

display media in a dynamic, unique manner.

Getting Started

To get started, review the following topics:

Get started with the following topics:

Quick Start

Samples

Task-Based Help

Help with ASP.NET Web Forms Edition Getting Started

For information on installing ComponentOne Studio ASP.NET Web Forms Edition, licensing,

technical support, namespaces and creating a project with the control, please visit Getting

Started with ASP.NET Web Forms Edition.

Key Features LightBox for ASP.NET Web Forms allows you to display images and content in a popup

interface without ever leaving the page to view media. C1LightBox includes several unique

features, including the following:

Auto Play

Automatically display the pages in order with one property setting. You may also

determine the time span between each page. When the last page is reached, by default

the C1LightBox control starts displaying from the first page again. You can choose to

disable the loop. See Automatically Playing the LightBox Items for details.

Auto Size

C1LightBox can adjust its size automatically according to the image's width and height.

This ensures the image displays in correct width/height ratio. This is enabled by setting

the AutoSize property to True. See Automatically Sizing the LightBox's Content for

details.

Flash Content Support

Display SWF content in C1LightBox; the control creates a Flash Object automatically if

the URL is a SWF file. For URLs that don't explicitly show the file links, set the Player

property to SWF to force using the Flash Object as content player.

Full Size Mode

C1LightBox can be enlarged to cover the entire window by clicking the FullSize

button. To display the dialog box control buttons, set the DialogButtons property to

one of the following values:

Page 9: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

7

o None - No dialog buttons are displayed.

o Close - Displays the Close button.

o FullSize - Displays the FullSize button.

See Enabling Buttons in LightBox for more information.

Keyboard Navigation

Navigate pages of content by keyboard. Setting the KeyNav property to True enables

this feature. By default, the following keys are supported:

o LEFT/DOWN - Moves to the previous page.

o RIGHT/UP - Moves to the next page.

o HOME - Moves to the first page.

o END - Moves to the last page.

See Keyboard Interaction and Adding Keyboard Navigation to the LightBox for more

information.

Control Buttons: Play & Pause

To display the control buttons in C1LightBox, simply set the CtrlButtons property.

Possible values include:

o None - No control buttons are displayed.

o Play - Displays the Play button.

o Stop - Displays the Stop button.

C1LightBox displays pages in order after clicking the Play button. If you want the

C1LightBox control to play automatically after initializing, set the AutoPlay property to

true. See Enabling Buttons in LightBox for more information.

Counter Styles

C1LightBox supports two types of counter style, determined by the CounterType

property. When the CounterType property is Default, the CounterFormat property will

be used to determine the format of counter text, with default value "[i] of [n]". "[i]" and

"[n]" are built-in parameters that denote the current page index and total number of

pages. When the CounterType property is Sequence, the CounterLimit property will be

used to determine the maximum number of sequence index to display. See Setting the

Sequence Counter in the LightBox for an example.

Media Hosting

C1LightBox supports hosting media from external sources like Vimeo or YouTube, or

media that could be played by Windows Media Player. If the URL is a file with .asf, .avi,

.mpg, .mpeg, .wm, or .wmv extensions, the Windows Media Player Object will be

created to play them by default. You can force the C1LightBox control to use the

player of your choice by setting the Player property to one of the following:

o WMP - for Windows Media Player.

o Iframe - for Vimeo.

o SWF - for YouTube since the external link is a flash movie.

Page 10: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

8

See Also Quick Start

Quick Start In this quick start you'll explore the functionality of the C1LightBox control. C1LightBox

provides the ability to add content in a unique view.

See Also

Step 1 of 3: Adding C1LightBox to the Page

Step 2 of 3: Adding Content to the C1LightBox Control

Step 3 of 3: Customizing Appearance and Behavior

Step 1 of 3: Adding C1LightBox to the

Page In this step you'll create and set up a Web site and add an empty C1LightBox control.

Complete the following steps to add the C1LightBox control to a Web site:

1. From the Visual Studio File menu select New | Project. The New Project dialog box

will appear.

2. In the New Project dialog box expand a language in the left-hand pane and select

Web. In the right pane, choose ASP.NET Empty Web Application, enter a Name for

your application, and select OK. A new application will be created.

3. In the Solution Explorer, right-click the project and choose Add Reference.

4. In the Add Reference dialog box, locate and select the C1.Web.Wijmo.Controls and

C1.Web.Wijmo.Controls.Design assemblies and click OK. The references will be

added.

5. Right-click the project in the Solution Explorer and from the context menu choose

Add | New Item.

6. In the Add New Item dialog box choose Web Form from the list of templates, name

the item "Default.aspx", and click Add. The new page should open.

7. In Source view, add the following markup at the top of the page to register the

C1LightBox assembly:

8. 9. <%@ Register Assembly="C1.Web.Wijmo.Controls.4"

Namespace="C1.Web.Wijmo.Controls.C1LightBox" TagPrefix="cc1" %>

Depending on the assembly added, you may need to replace

"C1.Web.Wijmo.Controls.4" with "C1.Web.Wijmo.Controls.3" above.

10. Place your mouse between the page's initial <div></div> tags, and add the following

markup to add the C1LightBox control to the page:

11.

Page 11: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

9

12. <cc1:C1LightBox ID="C1LightBox1" runat="server"></cc1:C1LightBox>

In this step you added a C1LightBox control to the form, but the control is currently blank. In

the next step of the quick start, you'll add content to the control.

See Also

Step 2 of 3: Adding Content to the C1LightBox Control

Step 2 of 3: Adding Content to the

C1LightBox Control Adding content to the C1LightBox control is very simple and can be done in a variety of ways. In

this step, you'll link to images using the ImageUrl property. The following steps assume you've

completed Step 1 of 3: Adding C1LightBox to the Page topic and added a C1LightBox control to

the page.

Complete the following steps to add content to the C1LightBox control:

1. In Source view, place your mouse between the <cc1:C1LightBox></cc1:C1LightBox>

tags, and add the following markup to add items to the control:

2. 3. <Items></Items>

4. Place your mouse between the <Items></Items> tags, and add the following markup

to add several C1LightBoxItems to the control:

5.

6. <cc1:C1LightBoxItem ID="C1LightBoxItem1" Title="Sport1" Text="Sport1"

ImageUrl="http://lorempixum.com/120/90/sports/1"

LinkUrl="http://lorempixum.com/600/400/sports/1" />

<cc1:C1LightBoxItem ID="C1LightBoxItem2" Title="Sport2" Text="Sport2"

ImageUrl="http://lorempixum.com/120/90/sports/2"

LinkUrl="http://lorempixum.com/600/400/sports/2" />

<cc1:C1LightBoxItem ID="C1LightBoxItem3" Title="Sport3" Text="Sport3"

ImageUrl="http://lorempixum.com/120/90/sports/3"

LinkUrl="http://lorempixum.com/600/400/sports/3" />

<cc1:C1LightBoxItem ID="C1LightBoxItem4" Title="Sport4" Text="Sport4"

ImageUrl="http://lorempixum.com/120/90/sports/4"

LinkUrl="http://lorempixum.com/600/400/sports/4" />

Note that you set the following properties for each C1LightBoxItem:

o ID: The unique identifier.

o Title: Title of the image.

o Text: Text of the image.

o ImageUrl: Image URL of the image.

o LinkURL: Link URL of the image.

7. Run your application, and observe that the page now looks similar to the following

image:

Page 12: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

10

8. Click on an image and notice that the image appears larger. If you hover your mouse

above the image, controls appear allowing you to navigate through the image set:

In this step you added content to C1LightBox control. In the next step you'll customize the

appearance and behavior of the control.

See Also

Step 3 of 3: Customizing Appearance and Behavior

Step 3 of 3: Customizing Appearance and

Behavior You can easily customize C1LightBox's appearance and behavior. In the following steps you'll

set the control's behavior and appearance. The following steps assume you've completed Step 2

of 3: Adding Content to the C1LightBox Control topic.

Complete the following steps:

1. In Source view, edit the <cc1:C1LightBox> tag to add AutoPlay="True"

ShowTimer="True":

2.

Page 13: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

11

3. <cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True" ShowTimer="True">

The control will now cycle automatically through images and a progress bar will be

displayed showing how much time is left before the image changes to the next.

4. In Source view, edit the <cc1:C1LightBox> tag to add Loop="False"

SlideDirection="Vertical":

5. 6. <cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True"

ShowTimer="True" Loop="False" SlideDirection="Vertical">

The control will no longer loop through images, not returning to the first image after

the last image in the series is displayed. Images will now also transition with a vertical

(rather than horizontal) effect.

7. In Source view, edit the <cc1:C1LightBox> tag to add TextPosition="Outside"

ControlsPosition="Outside": 8. 9. <cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True"

ShowTimer="True" Loop="False" SlideDirection="Vertical"

TextPosition="Outside" ControlsPosition="Outside">

The control's navigation controls and image caption text will now be displayed outside

of the image and not as an overlay.

10. In Source view, edit the <cc1:C1LightBox> tag to add TextPosition="Outside"

ControlsPosition="Outside":

11. 12. <cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True"

ShowTimer="True" Loop="False" SlideDirection="Vertical"

TextPosition="Outside" ControlsPosition="Outside">

The control's navigation controls and image caption text will now be displayed outside

of the image and not as an overlay.

13. In Source view, edit the <cc1:C1LightBox> tag to add KeyNav="True": 14. 15. <cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True"

ShowTimer="True" Loop="False" SlideDirection="Vertical"

TextPosition="Outside" ControlsPosition="Outside" KeyNav="True">

Keyboard navigation will now be enabled in the control. At run time you will be able to

move through images by pressing the arrow keys.

16. Run the application and observe that the control displays the changes that you made:

Page 14: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

12

A timer progress bar is displayed above the control which changes as images are

autoplayed. Text and controls are displayed outside of the image.

17. After the images complete playing, press the LEFT arrow button to navigate through

the images using the keyboard.

In this step you customized the appearance and behavior of the controls. Congratulations,

you've completed this quick start guide!

See Also

Design-Time Support

Design-Time Support The following sections describe how to use C1LightBox's design-time environment to

configure the C1LightBox control.

See Also

Smart Tag

Context Menu

Designer Form

Page 15: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

13

Smart Tag In Visual Studio, the C1LightBox control includes a smart tag. A smart tag represents a short-

cut tasks menu that provides the most commonly used properties in C1LightBox.

The C1LightBox control provides quick and easy access to common properties through its

smart tag.

To access the C1LightBox Tasks menu, click on the smart tag in the upper-right corner of the

C1LightBox control. This will open the C1LightBox Tasks menu.

The C1LightBox Tasks menu operates as follows:

MaxWidth

Determines the maximum width of the control at run time. The default width is 600px.

MaxHeight

Determines the maximum height of the control at run time. The default height is

400px.

AutoSize

Determines if images and content should be automatically resized. By default this box is

checked and images are automatically resized.

TextPostion

Determines where text (titles and captions) should be displayed. By text is displayed in

an Overlay over the image or video.

Page 16: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

14

CtrlButtons

Determines the visibility of the control buttons (Play and Stop). By default this option is

None and no buttons are displayed.

DialogButtons

Determines the visibility of the control buttons (Close and FullSize). By default this

option is None and no buttons are displayed.

OpenBuilder

Clicking the OpenBuilder item opens the C1LightBox Designer, allowing you to add

and edit items in the C1LightBox control.

Theme

Clicking the Theme drop-down box allows you to select from various visual schemes.

For more information about available visual styles, see Themes.

Create new theme...

The Create new theme... option opens ThemeRoller for Visual Studio. This allows

you to customize a theme without leaving your development environment. To find

more information on using ThemeRoller in your application, see ThemeRoller for Visual

Studio.

Use CDN

Selecting the Use CDN check box will indicate that the widget extender must load

client resources from a content delivery network. By default this box is not checked.

CDN Path

Indicates the path for the content delivery network. Enter a URL here to change the

path.

Use Bootstrap

Selecting the Use Bootstrap option applies Bootstrap theming to your control. To find

more information on using Bootstrap theming in your application, see Bootstrap

Theming.

About

Clicking the About item displays a dialog box, which is helpful in finding the version

number of ASP.NET Web Forms Edition and online resources.

See Also Context Menu

Context Menu Right-click anywhere on the list to display the C1LightBox context menu, which is a context

menu that Visual Studio provides for all .NET controls, although the C1LightBox context menu

has a few extra features.

Page 17: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

15

The context menu commands operate as follows:

Show Smart Tag

Clicking this item shows the C1LightBox Tasks menu. For more information on how to

use the smart tag and available features in the Tasks menu, see C1LightBox Smart Tag.

OpenBuilder

Clicking the OpenBuilder item opens the C1LightBox Designer, allowing you to add

and edit items in the C1LightBox control.

See Also Designer Form

Designer Form The C1LightBox Designer allows you to add and edit C1LightBoxItems as well set various

properties to change the appearance and behavior of the C1LightBox control.

You can access the designer from the C1LightBox Tasks menu, the context menu, and the

Properties window. Select the Add LightBoxItem option from any of the menus to open the

designer.

The designer appears like the following:

Page 18: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

16

See Also

Keyboard Interaction

Keyboard Interaction C1LightBox supports keyboard interaction. When the KeyNav property is set to True, users can

navigate through the control at run time by using the keyboard using the arrow keys. The

following keys are supported:

Key Action

LEFT ARROW Moves to the previous page.

Page 19: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

17

DOWN ARROW Moves to the previous page.

RIGHT ARROW Moves to the next page.

UP ARROW Moves to the next page.

HOME Moves to the first page.

END Moves to the last page.

See the Adding Keyboard Navigation to the LightBox topic for an example.

See Also

Themes

Themes C1LightBox includes themes allowing you to easily change the control's appearance. The control

includes several built-in themes allowing you to customize the control's appearance to your

application. You can easily change themes from the C1LightBox Tasks menu, from the

Properties window, and in code.

The following themes are included in LightBox for ASP.NET Web Forms:

Theme Preview

arctic

Page 20: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

18

aristo

cobalt

midnight

Page 21: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

19

rocket

sterling

Samples Please be advised that this ComponentOne software tool is accompanied by various sample

projects and/or demos which may make use of other development tools included with the

ComponentOne Studio. Samples can be accessed from the ControlExplorer. The

ControlExplorer sample includes a section that details some of the functionality available in the

C1LightBox control.

C# Samples

The following pages within the ControlExplorer sample installed with ASP.NET Web Forms

Edition detail the C1LightBox control's functionality:

Sample Description

Page 22: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

20

Overview This sample illustrates the default C1LightBox control, which is useful

for displaying images or video content.

AutoPlay This page demonstrates the autoplay feature in C1LightBox. Content

is played automatically when the AutoPlayer property is set to True.

The Delay property determines the how long each image is displayed.

AutoSize C1LightBox can adjust its size automatically according to the image's

width and height to make sure the image displays with the correct

width/height ratio. This is enabled by setting the AutoSize property

to True. The ResizeAnimation property determines the animation

effect when the container changes size.

Flash This sample demonstrates displaying SWF content in C1LightBox.

Flash Video This sample demonstrates how to display Flash Video in C1LightBox.

Full Size This sample demonstrates the full size feature of C1LightBox.

IFrame As this sample demonstrates, C1LightBox supports displaying Web

site content in an IFrame.

KeyboardNavigation This sample demonstrates keyboard navigation. The KeyNav property

must be set to True for keyboard navigation to be enabled.

PlayPause Demonstrates how to display the control buttons of C1LightBox by

setting the CtrlButtons property

QuickTime This sample illustrates how C1LightBox supports hosting media that

can be played by QuickTime.

SequenceCounter C1LightBox supports two types of counter styles, determined by the

CounterType property. This sample demonstrates the sequence

number counter style.

TextPosition This sample demonstrates the possible positioning or style of text

supported by C1LightBox.

Page 23: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

21

Transition Demonstrates the animation effects available in C1LightBox when

transitioning from one page to the next.

Vimeo This is a video content sample with source from Vimeo.

WindowsMediaPlayer As this sample demonstrates, C1LightBox supports hosting media

that can be played by Windows Media Player.

YouTube This is a video content sample with source from YouTube.

Task-Based Help The task-based help assumes that you are familiar with programming in ASP.NET and know

how to use controls in general. By following the steps outlined in the help, you will be able to

create projects demonstrating a variety of C1LightBox's features, and get a good sense of what

the C1LightBox control can do.

Each topic provides a solution for specific tasks using the C1LightBox control. Each task-based

help topic also assumes that you have created a new ASP.NET project and added references to

the appropriate assemblies.

See Also

Automatically Playing the LightBox Items

Enabling Buttons in LightBox

Automatically Sizing the LightBox's Content

Adding Keyboard Navigation to the LightBox

Changing Transition Animations at Run Time

Setting the Text Position at Run Time

Setting the Sequence Counter in the LightBox

Automatically Playing the LightBox Items If you choose you can automatically play items in the lightbox as a slideshow. When AutoPlay

is set to True the C1LightBox will automatically cycle through content items. When

ShowTimer is True a progress bar will be displayed with a Play/Pause button to let users start

and stop the slideshow at run time.

Page 24: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

22

In the examples below you'll add autoplaying and a timer to the LightBox.

In Source View

In Source view add AutoPlay="True" ShowTimer="True" to the <cc1:C1LightBox> tag so it

appears similar to the following:

<cc1:C1LightBox ID="C1LightBox1" runat="server" AutoPlay="True"

ShowTimer="True">

At Design Time

In Design view, select the C1LightBox control and in the Properties window set the following:

AutoPlay property to True.

ShowTimer property to True.

In Code

Add the following code to the Page_Load event:

To write code in Visual Basic

Visual Basic Copy Code

Me.C1LightBox1.AutoPlay = True

Me.C1LightBox1.ShowTimer = True

To write code in C#

C# Copy Code

this.C1LightBox1.AutoPlay = true;

this.C1LightBox1.ShowTimer = true;

See Also

Enabling Buttons in LightBox

Enabling Buttons in LightBox If you choose you can enable Play and Stop buttons in the lightbox for additional navigation

options. The CtrlButtons property determines the visibility of control buttons; it is a flag enum

property with the following possible values:

None - No control buttons are displayed.

Page 25: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

23

Play - Displays the Play button.

Stop - Displays the Stop button.

LightBox displays pages in order after clicking the Play button. To play automatically after

initializing, set the AutoPlay property to True.

The DialogButtons property determines the visibility of dialog box control buttons, which is a

enum property with the following possible values:

None - No dialog box buttons are displayed.

Close - Displays the Close button.

FullSize - Displays the FullSize button.

If the FullSize button is displayed, then the user can expand the Lightbox to cover the entire

window by clicking the FullSize button.

In the example below you'll enable buttons in C1LightBox.

In Source View

In Source view add ShowTimer="true" CtrlButtons="Play, Stop" DialogButtons="Close, FullSize"

to the <cc1:C1LightBox> tag so it appears similar to the following:

<cc1:C1LightBox ID="C1LightBox1" runat="server" ShowTimer="true"

CtrlButtons="Play, Stop" DialogButtons="Close, FullSize" >

See Also

Automatically Sizing the LightBox's Content

Automatically Sizing the LightBox's

Content The C1LightBox control can automatically resize according to the content image's width and

height. This makes certain that images are displayed with the correct width/height ratio. You

can enable automatic resizing by setting the AutoSize property to True.

The ResizeAnimation property determines the animation effect when the container's size is

changed. The ResizeAnimation.Animated property supports the following values:

None - No animation.

Wh - Resizes the width before the height.

Hw - Resizes the height before the width.

Sync - Resizes both the width and height at the same time.

Note that the automatic resizing feature only works for image content.

Complete the following steps:

Page 26: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

24

1. In Source view, edit the <cc1:C1LightBox> markup so it appears like the following:

2. 3. <cc1:C1LightBox ID="C1LightBox1" runat="server" Player="Img"

TextPosition="TitleOverlay" AutoSize="true" KeyNav="true"> <Items> <cc1:C1LightBoxItem ID="LightBoxItem1" Title="Sport1"

Text="Sport1" ImageUrl="http://lorempixum.com/120/90/sports/1" LinkUrl="http://lorempixum.com/600/400/sports/1" /> <cc1:C1LightBoxItem ID="LightBoxItem2" Title="Sport2"

Text="Sport2" ImageUrl="http://lorempixum.com/120/90/sports/2" LinkUrl="http://lorempixum.com/800/400/sports/2" /> <cc1:C1LightBoxItem ID="C1LightBoxItem3" Title="Sport3"

Text="Sport3" ImageUrl="http://lorempixum.com/120/90/sports/3" LinkUrl="http://lorempixum.com/300/400/sports/3" /> <cc1:C1LightBoxItem ID="C1LightBoxItem4" Title="Sport4"

Text="Sport4" ImageUrl="http://lorempixum.com/120/90/sports/4" LinkUrl="http://lorempixum.com/600/300/sports/4" /> </Items> </cc1:C1LightBox>

This customizes the lightbox control and adds images to the control.

4. Add the following markup just below the lightbox markup: 5. 6. <label>Animation</label>

<select id="animation" class='option'> <option value="sync" selected='true'>sync</option> <option value="wh">wh</option> <option value="hw">hw</option> <option value="none">none</option> </select>

This adds a drop-down list with the types of animation effects.

7. Add the following markup just below the previous markup:

8. 9. <script type="text/javascript">

$(function () { $('.option').change(function () {

$("#<%=C1LightBox1.ClientID%>").wijlightbox('option', { resizeAnimation: { animated:

$('#animation').val() } }); }); }); </script>

This script sets the animation effect at run time.

What You've Accomplished

Run the application and at run time choose an animation effect from the drop-down box. Click

on a thumbnail image to view the image in the lightbox. Click the Previous or Next button in

the lightbox to view the transition animation effect you selected. You can choose another effect

to view how it appears when moving between images in the lightbox.

Page 27: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

25

See Also

Adding Keyboard Navigation to the LightBox

Adding Keyboard Navigation to the

LightBox If you choose you can enable keyboard navigation in the lightbox to increase the accessibility of

the application. Keyboard navigation is enabled by setting the KeyNav property to True. The

following keys are supported by default:

LEFT/DOWN - Moves to the previous page.

RIGHT/UP - Moves to the next page.

HOME - Moves to the first page.

END - Moves to the last page.

In the examples below you'll enable keyboard navigation in C1LightBox.

In Source View

In Source view add KeyNav="True" to the <cc1:C1LightBox> tag so it appears similar to the

following:

<cc1:C1LightBox ID="C1LightBox1" runat="server" KeyNav="True">

At Design Time

In Design view, select the C1LightBox control and in the Properties window set the KeyNav

property to True.

In Code

Add the following code to the Page_Load event:

To write code in Visual Basic

Visual Basic Copy Code

Me.C1LightBox1.KeyNav = True

To write code in C#

C# Copy Code

Page 28: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

26

this.C1LightBox1.KeyNav = true;

See Also

Changing Transition Animations at Run Time

Changing Transition Animations at Run

Time You can customize your application by adding transition animation effects to the C1LightBox

control. These animations appear when navigating through lightbox images when one image

transitions to the next. You can change the animation style by setting the

TransAnimation.Animated property with the following values:

None - No animation.

Slide - Slide animation.

Fade - Fade animation.

TransAnimation.Easing determines the easing style to animate. TransAnimation.Duration

determines the time span to animate. For the slide animation, you can also change the slide

direction by setting the SlideDirection property to Horizontal or Vertical.

This example will show you how to set and change these animation effects at run time.

Complete the following steps:

1. In Source view, edit the <cc1:C1LightBox> markup so it appears like the following:

2. 3. <cc1:C1LightBox ID="C1LightBox1" runat="server" Player="Img"

TextPosition="TitleOverlay" > <Items> <cc1:C1LightBoxItem ID="LightBoxItem1" Title="Abstract1"

Text="Abstract1" ImageUrl="http://lorempixum.com/120/90/abstract/1" LinkUrl="http://lorempixum.com/600/400/abstract/1" /> <cc1:C1LightBoxItem ID="LightBoxItem2" Title="Abstract2"

Text="Abstract2" ImageUrl="http://lorempixum.com/120/90/abstract/2" LinkUrl="http://lorempixum.com/600/400/abstract/2" /> <cc1:C1LightBoxItem ID="C1LightBoxItem3"

Title="Abstract3" Text="Abstract3" ImageUrl="http://lorempixum.com/120/90/abstract/3" LinkUrl="http://lorempixum.com/600/400/abstract/4" /> <cc1:C1LightBoxItem ID="C1LightBoxItem4"

Title="Abstract4" Text="Abstract4" ImageUrl="http://lorempixum.com/120/90/abstract/4" LinkUrl="http://lorempixum.com/600/400/abstract/4" /> </Items> </cc1:C1LightBox>

This customizes the lightbox control and adds images to the control.

Page 29: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

27

4. Add the following markup just below the lightbox markup:

5. 6. <div class="demo-options">

<!-- Begin options markup --> <label>Animation</label><select id="animation" class='option'> <option value="fade"

selected='true'>fade</option> <option value="slide">slide</option> <option value="none">none</option> </select> <label>Slide Direction</label><select id="direction"

class='option'> <option value="horizontal"

selected='true'>horizontal</option> <option value="vertical">vertical</option> </select> <!-- End options markup --> </div>

This adds two drop-down lists, one with animation transition effects and the other slide

direction.

7. Add the following markup just below the previous markup: 8. 9. <script type="text/javascript">

$(function () { $('.option').change(function () {

$("#<%=C1LightBox1.ClientID%>").c1lightbox('option', { transAnimation: { animated:

$('#animation').val() }, slideDirection: $('#direction').val() }); }); }); </script>

This script sets the animation effect and slide direction at run time.

What You've Accomplished

Run the application and at run time choose the animation effect and slide direction from the

drop-down boxes. Click on an image to view it in the lightbox and then click the Previous or

Next buttons in the lightbox to view the transition animation effect and slide direction you

selected. You can choose another effect to view how it appears when moving between images

in the lightbox.

See Also

Setting the Text Position at Run Time

Page 30: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

28

Setting the Text Position at Run Time You can customize your application by setting where text is displayed in the C1LightBox

control. To change the position or style of the text section, you would simply change the

TextPosition property to one of the following values:

None - No text is displayed.

Inside - Displays the text description inside the content container, side by side with the

content.

Outside - Displays the text description outside the content container.

Overlay - Displays the text description inside the content container overlaying the

content.

TitleOverlay - Displays the text description inside the content container overlaying the

title only.

This example will show you how to set and change the text position at run time.

Complete the following steps:

1. In Source view, edit the <cc1:C1LightBox> markup so it appears like the following: 2. 3. <cc1:C1LightBox ID="C1LightBox1" runat="server" Player="Img">

<Items> <cc1:C1LightBoxItem ID="LightBoxItem1" Title="Abstract1"

Text="Abstract1" ImageUrl="http://lorempixum.com/120/90/abstract/1" LinkUrl="http://lorempixum.com/600/400/abstract/1" /> <cc1:C1LightBoxItem ID="LightBoxItem2" Title="Abstract2"

Text="Abstract2" ImageUrl="http://lorempixum.com/120/90/abstract/2" LinkUrl="http://lorempixum.com/600/400/abstract/2" /> <cc1:C1LightBoxItem ID="C1LightBoxItem3"

Title="Abstract3" Text="Abstract3" ImageUrl="http://lorempixum.com/120/90/abstract/3" LinkUrl="http://lorempixum.com/600/400/abstract/3" /> <cc1:C1LightBoxItem ID="C1LightBoxItem4"

Title="Abstract4" Text="Abstract4" ImageUrl="http://lorempixum.com/120/90/abstract/4" LinkUrl="http://lorempixum.com/600/400/abstract/4" /> </Items> </cc1:C1LightBox>

This customizes the lightbox control and adds images to the control.

4. Add the following markup just below the lightbox markup: 5. 6. <div class="demo-options">

<!-- Begin options markup --> <h6> Text Position:</h6> <select id="textposition"> <option value="inside"

selected='true'>inside</option> <option value="outside">outside</option> <option value="overlay">overlay</option> <option

Page 31: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

29

value="titleOverlay">titleOverlay</option> <option value="none">none</option> </select> <!-- End options markup --> </div>

This adds a drop-down list that will allow users to select the text position at run time.

7. Add the following markup just below the previous markup:

8. 9. <script type="text/javascript">

$(function () { $('#textposition').change(function () {

$("#<%=C1LightBox1.ClientID%>").c1lightbox('option',

'textPosition', $(this).val()); }); }); </script>

This script sets the text position at run time.

What You've Accomplished

Run the application and at run time choose the text position from the drop-down box. Click on

an image to view it in the lightbox and view the text position you selected. You can choose

another text position and click on an image to view how it appears at run time.

See Also

Setting the Sequence Counter in the LightBox

Setting the Sequence Counter in the

LightBox C1LightBox supports two types of counter styles, determined by the CounterType property:

When the CounterType property is Default, the CounterFormat property will be used

to determine the format of counter text, with the default value "[i] of [n]". "[i]" and "[n]"

are built-in parameters that denote the current page index and total number of pages.

When the CounterType property is Sequence, the CounterLimit property will be used

to determine the maximum number of sequence index to display.

In the following examples you'll set the CounterType property to Sequence.

In Source View

In Source view add CounterType="Sequence" to the <cc1:C1LightBox> tag so it appears similar

to the following:

<cc1:C1LightBox ID="C1LightBox1" runat="server"

CounterType="Sequence">

At Design Time

Page 32: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

30

In Design view, select the C1LightBox control and in the Properties window set the

CounterType property to Sequence.

In Code

Add the following code to the Page_Load event:

To write code in Visual Basic

Visual Basic Copy Code

Me.C1LightBox1.CounterType = CounterType.Sequence

To write code in C#

C# Copy Code

this.C1LightBox1.CounterType = CounterType.Sequence;

See Also

Task-Based Help

Client-Side Reference As part of the amazing ComponentOne Web stack, the Wijmo jQuery UI widgets are optimized

for client-side Web development and utilize the power of jQuery for superior performance and

ease of use.

The ComponentOne Wijmo Web site at http://wijmo.com/widgets/ provides everything you

need to know about Wijmo widgets, including demos and samples, documentation, theming

examples, support and more.

The client-side documentation provides an overview, sample markup, options, events, and

methods for each widget. To get started with client-side Web development for LightBox for

ASP.NET Web Forms, click one of the external links to view our Wijmo wiki documentation.

Note that the Overview topic for each of the widgets applies mainly to the widget, not to the

server-side ASP.NET Web Forms control.

wijlightbox documentation

wijlightbox API

Page 33: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

31

C1.Web.Wijmo.Controls.4 Assembly

Namespaces

C1.Web.Wijmo.Controls Namespace

Overview Inheritance Hierarchy

Classes

Class Description

C1BaseStateManager Base class to support view state management for a server control.

C1TargetControlBase Class to be used as base for the wijmo extenders target controls.

Class to be used as base for the wijmo target controls.

WijChartNavigator

See Also

Reference

C1.Web.Wijmo.Controls.4 Assembly

Classes

C1BaseStateManager Base class to support view state management for a server control.

Object Model

Syntax

Visual Basic (Declaration)

Page 34: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

32

Public MustInherit Class C1BaseStateManager

C#

public abstract class C1BaseStateManager

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1BaseStateManager

See Also

Reference

C1BaseStateManager Members

C1.Web.Wijmo.Controls Namespace

Overview Base class to support view state management for a server control.

Object Model

Syntax

Visual Basic (Declaration)

Public MustInherit Class C1BaseStateManager

C#

public abstract class C1BaseStateManager

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1BaseStateManager

See Also

Reference

C1BaseStateManager Members

C1.Web.Wijmo.Controls Namespace

Page 35: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

33

Members The following tables list the members exposed by C1BaseStateManager.

See Also

Reference

C1BaseStateManager Class

C1.Web.Wijmo.Controls Namespace

C1TargetControlBase Class to be used as base for the wijmo extenders target controls. Class to be used as base for

the wijmo target controls.

Object Model

Syntax

Visual Basic (Declaration)

<WidgetDependenciesAttribute(System.Object[])>

Public MustInherit Class C1TargetControlBase

Inherits System.Web.UI.WebControls.WebControl

C#

[WidgetDependencies(System.Object[])]

public abstract class C1TargetControlBase :

System.Web.UI.WebControls.WebControl

Inheritance Hierarchy

System.Object

System.Web.UI.Control

System.Web.UI.WebControls.WebControl

C1.Web.Wijmo.Controls.C1TargetControlBase

C1.Web.Wijmo.Controls.C1LightBox.C1LightBox

See Also

Reference

Page 36: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

34

C1TargetControlBase Members

C1.Web.Wijmo.Controls Namespace

Overview Class to be used as base for the wijmo extenders target controls. Class to be used as base for

the wijmo target controls.

Object Model

Syntax

Visual Basic (Declaration)

<WidgetDependenciesAttribute(System.Object[])>

Public MustInherit Class C1TargetControlBase

Inherits System.Web.UI.WebControls.WebControl

C#

[WidgetDependencies(System.Object[])]

public abstract class C1TargetControlBase :

System.Web.UI.WebControls.WebControl

Inheritance Hierarchy

System.Object

System.Web.UI.Control

System.Web.UI.WebControls.WebControl

C1.Web.Wijmo.Controls.C1TargetControlBase

C1.Web.Wijmo.Controls.C1LightBox.C1LightBox

See Also

Reference

C1TargetControlBase Members

C1.Web.Wijmo.Controls Namespace

Members The following tables list the members exposed by C1TargetControlBase.

Public Properties

Page 37: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

35

Name Description

AccessKey (Inherited from

System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from

System.Web.UI.WebControls.WebControl)

CDNDependencyPaths A string array value specifies all css/js references that

wijmo control depends on.

CDNPath Content Delivery Network path.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from

System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

System.Web.UI.WebControls.WebControl)

CssClass (Inherited from

System.Web.UI.WebControls.WebControl)

DisplayVisible Gets or sets a value that indicates whether a server

control is rendered as UI on the page.

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In

order to combined enabled, you must register the

WijmoHttpHandler in web.config.

Enabled Overridden. Gets or sets a value indicating whether

Page 38: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

36

the Web server control is enabled.

EnableTheming (Inherited from

System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

HasAttributes (Inherited from

System.Web.UI.WebControls.WebControl)

Height (Inherited from

System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from

System.Web.UI.WebControls.WebControl)

Style (Inherited from

System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from

System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from

System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

Page 39: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

37

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

Theme Name of the theme that will be used to style the

widgets. Available embedded themes include: aristo,

midnight, and ui-lightness. Note that only one

theme can be used for the whole page at one time.

Please make sure that all widget extenders have the

same Theme value.

ThemeSwatch A value that indicates the theme swatch of the

control, this property only works when

WijmoControlMode property is Mobile.

ToolTip (Inherited from

System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load

client resources from CDN (Content Delivery

Network) path given by property CDNPath.

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from

System.Web.UI.WebControls.WebControl)

WijmoControlMode A value that indicates mode of the control, whether

it is a mobile or web control. Note that only one

value can be used for the whole website or project.

WijmoCssAdapter Indicates the control applies the theme of JQuery UI

or Bootstrap.

Top

Public Methods

Page 40: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

38

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetPropertyValue<V> Gets the property value by property name.

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetScriptDescriptors When overridden in a derived class, registers the

WidgetDescriptor objects for the control.

GetScriptReferences When overridden in a derived class, registers an additional

script libraries for the extender control.

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RegisterDesignTimeStyleSheet Register design time stylesheet

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

RenderControl (Inherited from System.Web.UI.Control)

Page 41: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

39

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetPropertyValue<V> Sets the property value by property name.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1TargetControlBase Class

C1.Web.Wijmo.Controls Namespace

Methods For a list of all members of this type, see C1TargetControlBase members.

Public Methods

Page 42: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

40

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetPropertyValue<V> Gets the property value by property name.

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetScriptDescriptors When overridden in a derived class, registers the

WidgetDescriptor objects for the control.

GetScriptReferences When overridden in a derived class, registers an additional

script libraries for the extender control.

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RegisterDesignTimeStyleSheet Register design time stylesheet

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

RenderControl (Inherited from System.Web.UI.Control)

Page 43: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

41

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetPropertyValue<V> Sets the property value by property name.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1TargetControlBase Class

C1.Web.Wijmo.Controls Namespace

GetPropertyValue<V> Method Gets the property value by property name.

Syntax

Visual Basic (Declaration)

Public Function GetPropertyValue(Of V)( _

ByVal propertyName As System.String, _

ByVal nullValue As V _

) As V

C#

public V GetPropertyValue<V>(

System.string propertyName,

V nullValue

)

Parameters

propertyName

Name of the property.

nullValue

Page 44: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

42

The null value.

Type Parameters

V

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

GetScriptDescriptors Method When overridden in a derived class, registers the WidgetDescriptor objects for the control.

Syntax

Visual Basic (Declaration)

Public Overridable Function GetScriptDescriptors() As

System.Collections.Generic.IEnumerable(Of ScriptDescriptor)

C#

public virtual System.Collections.Generic.IEnumerable<ScriptDescriptor>

GetScriptDescriptors()

Return Value

An enumeration of WidgetDescriptor objects.

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

GetScriptReferences Method When overridden in a derived class, registers an additional script libraries for the extender

control.

Syntax

Visual Basic (Declaration)

Page 45: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

43

Public Overridable Function GetScriptReferences() As

System.Collections.Generic.IEnumerable(Of ScriptReference)

C#

public virtual System.Collections.Generic.IEnumerable<ScriptReference>

GetScriptReferences()

Return Value

An object that implements the System.Collections.IEnumerable interface and that contains

ECMAScript (JavaScript) files that have been registered as embedded resources.

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

RegisterDesignTimeStyleSheet Method The System.Web.UI.HtmlTextWriter object that receives the server control content.

resource name of stylesheet file

Register design time stylesheet

Syntax

Visual Basic (Declaration)

Public Sub RegisterDesignTimeStyleSheet( _

ByVal writer As System.Web.UI.HtmlTextWriter, _

ByVal cssResourceName As System.String _

)

C#

public void RegisterDesignTimeStyleSheet(

System.Web.UI.HtmlTextWriter writer,

System.string cssResourceName

)

Parameters

writer

The System.Web.UI.HtmlTextWriter object that receives the server control content.

Page 46: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

44

cssResourceName

resource name of stylesheet file

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

SetPropertyValue<V> Method Sets the property value by property name.

Syntax

Visual Basic (Declaration)

Public Sub SetPropertyValue(Of V)( _

ByVal propertyName As System.String, _

ByVal value As V _

)

C#

public void SetPropertyValue<V>(

System.string propertyName,

V value

)

Parameters

propertyName

Name of the property.

value

The value.

Type Parameters

V

See Also

Reference

Page 47: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

45

C1TargetControlBase Class

C1TargetControlBase Members

Properties For a list of all members of this type, see C1TargetControlBase members.

Public Properties

Name Description

AccessKey (Inherited from

System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from

System.Web.UI.WebControls.WebControl)

CDNDependencyPaths A string array value specifies all css/js references that

wijmo control depends on.

CDNPath Content Delivery Network path.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from

System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

System.Web.UI.WebControls.WebControl)

CssClass (Inherited from

System.Web.UI.WebControls.WebControl)

DisplayVisible Gets or sets a value that indicates whether a server

Page 48: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

46

control is rendered as UI on the page.

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In

order to combined enabled, you must register the

WijmoHttpHandler in web.config.

Enabled Overridden. Gets or sets a value indicating whether

the Web server control is enabled.

EnableTheming (Inherited from

System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

HasAttributes (Inherited from

System.Web.UI.WebControls.WebControl)

Height (Inherited from

System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from

System.Web.UI.WebControls.WebControl)

Style (Inherited from

System.Web.UI.WebControls.WebControl)

Page 49: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

47

SupportsDisabledAttribute (Inherited from

System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from

System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

Theme Name of the theme that will be used to style the

widgets. Available embedded themes include: aristo,

midnight, and ui-lightness. Note that only one

theme can be used for the whole page at one time.

Please make sure that all widget extenders have the

same Theme value.

ThemeSwatch A value that indicates the theme swatch of the

control, this property only works when

WijmoControlMode property is Mobile.

ToolTip (Inherited from

System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load

client resources from CDN (Content Delivery

Network) path given by property CDNPath.

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from

System.Web.UI.WebControls.WebControl)

Page 50: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

48

WijmoControlMode A value that indicates mode of the control, whether

it is a mobile or web control. Note that only one

value can be used for the whole website or project.

WijmoCssAdapter Indicates the control applies the theme of JQuery UI

or Bootstrap.

Top

See Also

Reference

C1TargetControlBase Class

C1.Web.Wijmo.Controls Namespace

CDNDependencyPaths Property A string array value specifies all css/js references that wijmo control depends on.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<C1DescriptionAttribute(Key="C1Base.CDNDependencyPaths", Description="A

string array value specifies all css/js references that wijmo control depends

on.")>

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

Public Overridable Property CDNDependencyPaths As System.String()

C#

[C1Category("Behavior")]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[C1Description(Key="C1Base.CDNDependencyPaths", Description="A string array

value specifies all css/js references that wijmo control depends on.")]

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

public virtual System.string[] CDNDependencyPaths {get; set;}

Page 51: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

49

Remarks

Using this property, user can specify the CDN dependencies(such as jQuery, jQuery UI, jQuery

mobile, bootstrap). If some dependencies are set in this property, wijmo controls will find

dependencies path in this property. If found, use the path to load dependency, otherwise, use

the default CDN path. For example, if user wants to specify the dependencies of jQuery and

jQuery UI, he can set the value like this: ["http://ajax.aspnetcdn.com/ajax/jQuery/jquery-

1.11.1.min.js", "http://ajax.aspnetcdn.com/ajax/jquery.ui/1.11.1/jquery-ui.js"]

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

CDNPath Property Content Delivery Network path.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<C1DescriptionAttribute(Key="C1Base.CDNPath", Description="Content Delivery

Network path.")>

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

Public Overridable Property CDNPath As System.String

C#

[C1Category("Behavior")]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[C1Description(Key="C1Base.CDNPath", Description="Content Delivery Network

path.")]

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

public virtual System.string CDNPath {get; set;}

See Also

Page 52: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

50

Reference

C1TargetControlBase Class

C1TargetControlBase Members

DisplayVisible Property Gets or sets a value that indicates whether a server control is rendered as UI on the page.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1Controls.DisplayVisible", Description="Gets or

sets a value that indicates whether a server control is rendered as UI on the

page.")>

<C1CategoryAttribute("Behavior")>

<LayoutAttribute(LayoutType.Behavior)>

Public Property DisplayVisible As System.Boolean

C#

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

[C1Description(Key="C1Controls.DisplayVisible", Description="Gets or sets a

value that indicates whether a server control is rendered as UI on the

page.")]

[C1Category("Behavior")]

[Layout(LayoutType.Behavior)]

public System.bool DisplayVisible {get; set;}

Remarks

Note that a server control is created and invisible if DisplayVisible is set to false.

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

EnableCombinedJavaScripts Property Enable JavaScripts files combined into one file. In order to combined enabled, you must register

the WijmoHttpHandler in web.config.

Page 53: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

51

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1Base.EnableCombinedJavaScripts",

Description="Enable JavaScripts files combined into one file.")>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Overridable Property EnableCombinedJavaScripts As System.Boolean

C#

[C1Description(Key="C1Base.EnableCombinedJavaScripts", Description="Enable

JavaScripts files combined into one file.")]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public virtual System.bool EnableCombinedJavaScripts {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

Enabled Property Gets or sets a value indicating whether the Web server control is enabled.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1Base.Enabled", Description="Indicates whether

control is enabled.")>

<C1CategoryAttribute("Behavior")>

Public Overrides Property Enabled As System.Boolean

C#

Page 54: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

52

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1Base.Enabled", Description="Indicates whether control

is enabled.")]

[C1Category("Behavior")]

public override System.bool Enabled {get; set;}

Property Value

true if control is enabled; otherwise, false. The default is true.

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

Theme Property Name of the theme that will be used to style the widgets. Available embedded themes include:

aristo, midnight, and ui-lightness. Note that only one theme can be used for the whole page at

one time. Please make sure that all widget extenders have the same Theme value.

Syntax

Visual Basic (Declaration)

<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoThemeNameConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

<C1DescriptionAttribute(Key="C1Base.Theme", Description="Name of the theme

that will be used to style widgets. Available themes: aristo / midnight / ui-

lightness. Note, only one theme can be used for the whole page at one time.

Please, make sure that all widget extenders have the same Theme value.")>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

Public Overridable Property Theme As System.String

C#

[TypeConverter("C1.Web.Wijmo.Controls.WijmoThemeNameConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

Page 55: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

53

PublicKeyToken=9b75583953471eea")]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

[C1Description(Key="C1Base.Theme", Description="Name of the theme that will

be used to style widgets. Available themes: aristo / midnight / ui-lightness.

Note, only one theme can be used for the whole page at one time. Please, make

sure that all widget extenders have the same Theme value.")]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

public virtual System.string Theme {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

ThemeSwatch Property A value that indicates the theme swatch of the control, this property only works when

WijmoControlMode property is Mobile.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Appearance")>

<WidgetOptionAttribute()>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1Base.ThemeSwatch", Description="A value that

indicates the theme swatch of the control, this property only works when

WijmoControlMode property is Mobile.")>

<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoThemeSwatchConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")>

Public Overridable Property ThemeSwatch As System.String

C#

[C1Category("Appearance")]

[WidgetOption()]

Page 56: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

54

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1Base.ThemeSwatch", Description="A value that indicates

the theme swatch of the control, this property only works when

WijmoControlMode property is Mobile.")]

[TypeConverter("C1.Web.Wijmo.Controls.WijmoThemeSwatchConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")]

public virtual System.string ThemeSwatch {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

UseCDN Property Determines whether the widget extender must load client resources from CDN (Content

Delivery Network) path given by property CDNPath.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1Base.UseCDN", Description="Determines whether

this extender loads client script references from CDN.")>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

Public Overridable Property UseCDN As System.Boolean

C#

[C1Description(Key="C1Base.UseCDN", Description="Determines whether this

extender loads client script references from CDN.")]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

Page 57: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

55

public virtual System.bool UseCDN {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

WijmoControlMode Property A value that indicates mode of the control, whether it is a mobile or web control. Note that only

one value can be used for the whole website or project.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1Base.WijmoControlMode", Description="A value

that indicates mode of the control, whether it is a mobile or web control.

Note that only one value can be used for the whole website or project.")>

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

Public Overridable Property WijmoControlMode As WijmoControlMode

C#

[C1Category("Behavior")]

[C1Description(Key="C1Base.WijmoControlMode", Description="A value that

indicates mode of the control, whether it is a mobile or web control. Note

that only one value can be used for the whole website or project.")]

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

public virtual WijmoControlMode WijmoControlMode {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

Page 58: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

56

WijmoCssAdapter Property Indicates the control applies the theme of JQuery UI or Bootstrap.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1Base.WijmoCssAdapter", Description="Indicates

the control applies the theme of JQuery UI or Bootstrap.")>

<System.ComponentModel.DefaultValueAttribute()>

<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoCssAdapterConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Hidden)>

Public Overridable Property WijmoCssAdapter As System.String

C#

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[C1Category("Behavior")]

[C1Description(Key="C1Base.WijmoCssAdapter", Description="Indicates the

control applies the theme of JQuery UI or Bootstrap.")]

[System.ComponentModel.DefaultValue()]

[TypeConverter("C1.Web.Wijmo.Controls.WijmoCssAdapterConverter,

C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Hidden)]

public virtual System.string WijmoCssAdapter {get; set;}

See Also

Reference

C1TargetControlBase Class

C1TargetControlBase Members

WijChartNavigator

Object Model

Page 59: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

57

Syntax

Visual Basic (Declaration)

<WidgetDependenciesAttribute(System.Object[])>

Friend Class WijChartNavigator

Inherits WijChartCore

C#

[WidgetDependencies(System.Object[])]

internal class WijChartNavigator : WijChartCore

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.WijChartNavigator

See Also

Reference

WijChartNavigator Members

C1.Web.Wijmo.Controls Namespace

Overview

Object Model

Syntax

Visual Basic (Declaration)

<WidgetDependenciesAttribute(System.Object[])>

Friend Class WijChartNavigator

Inherits WijChartCore

C#

[WidgetDependencies(System.Object[])]

internal class WijChartNavigator : WijChartCore

Page 60: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

58

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.WijChartNavigator

See Also

Reference

WijChartNavigator Members

C1.Web.Wijmo.Controls Namespace

Members The following tables list the members exposed by WijChartNavigator.

Public Constructors

Name Description

WijChartNavigator Constructor

Top

See Also

Reference

WijChartNavigator Class

C1.Web.Wijmo.Controls Namespace

WijChartNavigator Constructor

Syntax

Visual Basic (Declaration)

Public Function New()

C#

public WijChartNavigator()

See Also

Reference

Page 61: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

59

WijChartNavigator Class

WijChartNavigator Members

C1.Web.Wijmo.Controls.C1LightBox

Namespace

Overview Classes

Class Description

C1LightBox

C1LightBoxItem The item of lightbox control.

C1LightBoxItemCollection

ResizeAnimation

TransitionAnimation

Enumerations

Enumeration Description

ButtonPosition Determines the position of the nav-buttons.

CounterType Determines the type counter style.

CtrlButtons Determines the visibility of control buttons.

DialogButtons Determines the visibility of dialog buttons.

PlayerName Determines the name of player to host the content.

ResizeMode Determines the animation style when resizing.

Page 62: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

60

TextPosition Determines the position of text description.

TransitionMode Determines the animation style when switching between pages.

See Also

Reference

C1.Web.Wijmo.Controls.4 Assembly

Classes

C1LightBox

Object Model

Syntax

Visual Basic (Declaration)

<System.Web.UI.ParseChildrenAttribute(True)>

<System.Web.UI.ToolboxDataAttribute("<{0}:C1LightBox

runat=server></{0}:C1LightBox>")>

<System.Drawing.ToolboxBitmapAttribute()>

<WidgetDependenciesAttribute(System.Object[])>

<System.Web.UI.PersistChildrenAttribute(Persist=False,

UsesCustomPersistence=False)>

<System.ComponentModel.LicenseProviderAttribute()>

<System.ComponentModel.LocalizableAttribute(True)>

<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.Compone

ntModel.Design.IDesigner",

DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1LightBox.C1LightBoxDesigner,

C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")>

<System.Web.UI.ControlValuePropertyAttribute("DisplayDate")>

<System.ComponentModel.DefaultPropertyAttribute("DisplayDate")>

<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLev

el.Minimal,

Action=SecurityAction.Demand Or _

SecurityAction.Deny Or _

Page 63: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

61

SecurityAction.LinkDemand,

Unrestricted=False)>

<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLev

el.Minimal,

Action=SecurityAction.Demand Or _

SecurityAction.Assert Or _

SecurityAction.Deny Or _

SecurityAction.PermitOnly Or _

SecurityAction.LinkDemand Or _

SecurityAction.InheritanceDemand,

Unrestricted=False)>

Public Class C1LightBox

Inherits C1.Web.Wijmo.Controls.C1TargetControlBase

C#

[System.Web.UI.ParseChildren(true)]

[System.Web.UI.ToolboxData("<{0}:C1LightBox runat=server></{0}:C1LightBox>")]

[System.Drawing.ToolboxBitmap()]

[WidgetDependencies(System.Object[])]

[System.Web.UI.PersistChildren(Persist=false, UsesCustomPersistence=false)]

[System.ComponentModel.LicenseProvider()]

[System.ComponentModel.Localizable(true)]

[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.D

esign.IDesigner",

DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1LightBox.C1LightBoxDesigner,

C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")]

[System.Web.UI.ControlValueProperty("DisplayDate")]

[System.ComponentModel.DefaultProperty("DisplayDate")]

[System.Web.AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minima

l,

Action=SecurityAction.Demand |

SecurityAction.Deny |

SecurityAction.LinkDemand,

Unrestricted=false)]

[System.Web.AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minima

l,

Action=SecurityAction.Demand |

SecurityAction.Assert |

SecurityAction.Deny |

SecurityAction.PermitOnly |

Page 64: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

62

SecurityAction.LinkDemand |

SecurityAction.InheritanceDemand,

Unrestricted=false)]

public class C1LightBox : C1.Web.Wijmo.Controls.C1TargetControlBase

Inheritance Hierarchy

System.Object

System.Web.UI.Control

System.Web.UI.WebControls.WebControl

C1.Web.Wijmo.Controls.C1TargetControlBase

C1.Web.Wijmo.Controls.C1LightBox.C1LightBox

See Also

Reference

C1LightBox Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Overview

Object Model

Syntax

Visual Basic (Declaration)

<System.Web.UI.ParseChildrenAttribute(True)>

<System.Web.UI.ToolboxDataAttribute("<{0}:C1LightBox

runat=server></{0}:C1LightBox>")>

<System.Drawing.ToolboxBitmapAttribute()>

<WidgetDependenciesAttribute(System.Object[])>

<System.Web.UI.PersistChildrenAttribute(Persist=False,

UsesCustomPersistence=False)>

<System.ComponentModel.LicenseProviderAttribute()>

<System.ComponentModel.LocalizableAttribute(True)>

<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.Compone

ntModel.Design.IDesigner",

DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1LightBox.C1LightBoxDesigner,

C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")>

Page 65: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

63

<System.Web.UI.ControlValuePropertyAttribute("DisplayDate")>

<System.ComponentModel.DefaultPropertyAttribute("DisplayDate")>

<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLev

el.Minimal,

Action=SecurityAction.Demand Or _

SecurityAction.Deny Or _

SecurityAction.LinkDemand,

Unrestricted=False)>

<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLev

el.Minimal,

Action=SecurityAction.Demand Or _

SecurityAction.Assert Or _

SecurityAction.Deny Or _

SecurityAction.PermitOnly Or _

SecurityAction.LinkDemand Or _

SecurityAction.InheritanceDemand,

Unrestricted=False)>

Public Class C1LightBox

Inherits C1.Web.Wijmo.Controls.C1TargetControlBase

C#

[System.Web.UI.ParseChildren(true)]

[System.Web.UI.ToolboxData("<{0}:C1LightBox runat=server></{0}:C1LightBox>")]

[System.Drawing.ToolboxBitmap()]

[WidgetDependencies(System.Object[])]

[System.Web.UI.PersistChildren(Persist=false, UsesCustomPersistence=false)]

[System.ComponentModel.LicenseProvider()]

[System.ComponentModel.Localizable(true)]

[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.D

esign.IDesigner",

DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1LightBox.C1LightBoxDesigner,

C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,

PublicKeyToken=9b75583953471eea")]

[System.Web.UI.ControlValueProperty("DisplayDate")]

[System.ComponentModel.DefaultProperty("DisplayDate")]

[System.Web.AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minima

l,

Action=SecurityAction.Demand |

SecurityAction.Deny |

SecurityAction.LinkDemand,

Unrestricted=false)]

Page 66: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

64

[System.Web.AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minima

l,

Action=SecurityAction.Demand |

SecurityAction.Assert |

SecurityAction.Deny |

SecurityAction.PermitOnly |

SecurityAction.LinkDemand |

SecurityAction.InheritanceDemand,

Unrestricted=false)]

public class C1LightBox : C1.Web.Wijmo.Controls.C1TargetControlBase

Inheritance Hierarchy

System.Object

System.Web.UI.Control

System.Web.UI.WebControls.WebControl

C1.Web.Wijmo.Controls.C1TargetControlBase

C1.Web.Wijmo.Controls.C1LightBox.C1LightBox

See Also

Reference

C1LightBox Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Members The following tables list the members exposed by C1LightBox.

Public Constructors

Name Description

C1LightBox Constructor Construct a new instance of C1LightBox.

Top

Public Properties

Name Description

AccessKey (Inherited from

System.Web.UI.WebControls.WebControl)

Page 67: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

65

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from

System.Web.UI.WebControls.WebControl)

AutoPlay Determines whether pages are automatically

displayed in order.

AutoPlayMovies Determines whether to turn on the autoplay option

in movie player.

AutoSize A value determines whether to auto-size to keep the

original width/height ratio of content.

CDNDependencyPaths A string array value specifies all css/js references that

wijmo control depends on. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

CDNPath Content Delivery Network path. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ClickPause Determines whether to pause the auto-play when

clicking the content.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

CloseOnEscape Determines whether to close the popup window

when user presses the ESC key.

CloseOnOuterClick Determines whether to close the popup window

when user clicks on the out side of content.

Controls (Inherited from System.Web.UI.Control)

ControlsPosition Determines the position of control buttons.

Page 68: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

66

ControlStyle (Inherited from

System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

System.Web.UI.WebControls.WebControl)

CounterFormat Determines the text format of counter.

CounterLimit Determines the maximum number of digit buttons in

sequence counter type.

CounterType Determines the type counter style.

CssClass (Inherited from

System.Web.UI.WebControls.WebControl)

CtrlButtons Determines the visibility of the control buttons.

Delay Determines the time span in milliseconds between

pages in autoplay mode.

DialogButtons Determines the visibility of the dialog buttons.

DisplayVisible Gets or sets a value that indicates whether a server

control is rendered as UI on the page. (Inherited

from C1.Web.Wijmo.Controls.C1TargetControlBase)

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In

order to combined enabled, you must register the

WijmoHttpHandler in web.config. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

Enabled Gets or sets a value indicating whether the Web

server control is enabled. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

EnableTheming (Inherited from

Page 69: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

67

System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

FlashInstall Gets or sets the relative path and name of the flash

installation guide.

FlvPlayer Gets or sets the relative path and name of the flash

video player.

HasAttributes (Inherited from

System.Web.UI.WebControls.WebControl)

Height (Inherited from

System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

Items Gets a C1LightBoxItemCollection object that

contains the items of the current C1LightBox control.

KeyNav Determines whether to allow keyboard navigation.

Loop Determines whether start from the first page when

reaching the end in autoplay mode.

MaxHeight A value that indicates the maximum height of the

content.

MaxWidth A value that indicates the maximum width of the

content.

Modal Determines whether the popped up content is

displayed in modal style container.

NamingContainer (Inherited from System.Web.UI.Control)

Page 70: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

68

OnClientBeforeClose Occurs before the popped up container is closed.

OnClientBeforeShow Occurs before a page's content is shown.

OnClientClose Occurs after the popped up container is closed.

OnClientOpen Occurs after the popped up container is opened.

OnClientShow Occurs after a page's content is shown.

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

Player Determines the name of player to host the content.

Position Determines the popup position of content window.

RenderingCompatibility (Inherited from System.Web.UI.Control)

ResizeAnimation Determines the animation style when resizing.

RootUrl Determines the root url for each item.

ShowControlsOnHover Determines whether to display the control buttons

only when hovering the mouse to the content.

ShowCounter Determines whether to display the counter.

ShowMovieControls Determines whether to turn on the movie controls in

movie player.

ShowNavButtons Determines whether to display the navigation

buttons.

ShowTimer Determines whether to display the time bar.

Site (Inherited from System.Web.UI.Control)

Page 71: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

69

SkinID (Inherited from

System.Web.UI.WebControls.WebControl)

SlideDirection Determines the slide direction.

Style (Inherited from

System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from

System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from

System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

TextHideOption Determines the animation style when hiding the text.

TextPosition Determines the position of text description.

TextShowOption Determines the animation style when showing out

the text.

Theme Name of the theme that will be used to style the

widgets. Available embedded themes include: aristo,

midnight, and ui-lightness. Note that only one

theme can be used for the whole page at one time.

Please make sure that all widget extenders have the

same Theme value. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ThemeSwatch A value that indicates the theme swatch of the

control, this property only works when

WijmoControlMode property is Mobile. (Inherited

Page 72: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

70

from C1.Web.Wijmo.Controls.C1TargetControlBase)

ToolTip (Inherited from

System.Web.UI.WebControls.WebControl)

TransAnimation Determines the animation style when switching

between pages.

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load

client resources from CDN (Content Delivery

Network) path given by property CDNPath.

(Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from

System.Web.UI.WebControls.WebControl)

WijmoControlMode A value that indicates mode of the control, whether

it is a mobile or web control. Note that only one

value can be used for the whole website or project.

(Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

WijmoCssAdapter Indicates the control applies the theme of JQuery UI

or Bootstrap. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

Top

Public Methods

Name Description

Page 73: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

71

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetPropertyValue<V> Gets the property value by property name. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetScriptDescriptors When overridden in a derived class, registers the

WidgetDescriptor objects for the control. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

GetScriptReferences When overridden in a derived class, registers an additional

script libraries for the extender control. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RegisterDesignTimeStyleSheet Register design time stylesheet (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

Page 74: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

72

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetPropertyValue<V> Sets the property value by property name. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1LightBox Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

C1LightBox Constructor Construct a new instance of C1LightBox.

Page 75: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

73

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.Constructor",

Description="C1LightBox.Constructor")>

Public Function New()

C#

[C1Description(Key="C1LightBox.Constructor",

Description="C1LightBox.Constructor")]

public C1LightBox()

See Also

Reference

C1LightBox Class

C1LightBox Members

Properties For a list of all members of this type, see C1LightBox members.

Public Properties

Name Description

AccessKey (Inherited from

System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from

System.Web.UI.WebControls.WebControl)

AutoPlay Determines whether pages are automatically

displayed in order.

AutoPlayMovies Determines whether to turn on the autoplay option

in movie player.

Page 76: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

74

AutoSize A value determines whether to auto-size to keep the

original width/height ratio of content.

CDNDependencyPaths A string array value specifies all css/js references that

wijmo control depends on. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

CDNPath Content Delivery Network path. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ClickPause Determines whether to pause the auto-play when

clicking the content.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

CloseOnEscape Determines whether to close the popup window

when user presses the ESC key.

CloseOnOuterClick Determines whether to close the popup window

when user clicks on the out side of content.

Controls (Inherited from System.Web.UI.Control)

ControlsPosition Determines the position of control buttons.

ControlStyle (Inherited from

System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

System.Web.UI.WebControls.WebControl)

CounterFormat Determines the text format of counter.

CounterLimit Determines the maximum number of digit buttons in

sequence counter type.

Page 77: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

75

CounterType Determines the type counter style.

CssClass (Inherited from

System.Web.UI.WebControls.WebControl)

CtrlButtons Determines the visibility of the control buttons.

Delay Determines the time span in milliseconds between

pages in autoplay mode.

DialogButtons Determines the visibility of the dialog buttons.

DisplayVisible Gets or sets a value that indicates whether a server

control is rendered as UI on the page. (Inherited

from C1.Web.Wijmo.Controls.C1TargetControlBase)

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In

order to combined enabled, you must register the

WijmoHttpHandler in web.config. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

Enabled Gets or sets a value indicating whether the Web

server control is enabled. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

EnableTheming (Inherited from

System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

FlashInstall Gets or sets the relative path and name of the flash

installation guide.

FlvPlayer Gets or sets the relative path and name of the flash

video player.

HasAttributes (Inherited from

Page 78: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

76

System.Web.UI.WebControls.WebControl)

Height (Inherited from

System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

Items Gets a C1LightBoxItemCollection object that

contains the items of the current C1LightBox control.

KeyNav Determines whether to allow keyboard navigation.

Loop Determines whether start from the first page when

reaching the end in autoplay mode.

MaxHeight A value that indicates the maximum height of the

content.

MaxWidth A value that indicates the maximum width of the

content.

Modal Determines whether the popped up content is

displayed in modal style container.

NamingContainer (Inherited from System.Web.UI.Control)

OnClientBeforeClose Occurs before the popped up container is closed.

OnClientBeforeShow Occurs before a page's content is shown.

OnClientClose Occurs after the popped up container is closed.

OnClientOpen Occurs after the popped up container is opened.

OnClientShow Occurs after a page's content is shown.

Page (Inherited from System.Web.UI.Control)

Page 79: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

77

Parent (Inherited from System.Web.UI.Control)

Player Determines the name of player to host the content.

Position Determines the popup position of content window.

RenderingCompatibility (Inherited from System.Web.UI.Control)

ResizeAnimation Determines the animation style when resizing.

RootUrl Determines the root url for each item.

ShowControlsOnHover Determines whether to display the control buttons

only when hovering the mouse to the content.

ShowCounter Determines whether to display the counter.

ShowMovieControls Determines whether to turn on the movie controls in

movie player.

ShowNavButtons Determines whether to display the navigation

buttons.

ShowTimer Determines whether to display the time bar.

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from

System.Web.UI.WebControls.WebControl)

SlideDirection Determines the slide direction.

Style (Inherited from

System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from

System.Web.UI.WebControls.WebControl)

Page 80: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

78

TabIndex (Inherited from

System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

TextHideOption Determines the animation style when hiding the text.

TextPosition Determines the position of text description.

TextShowOption Determines the animation style when showing out

the text.

Theme Name of the theme that will be used to style the

widgets. Available embedded themes include: aristo,

midnight, and ui-lightness. Note that only one

theme can be used for the whole page at one time.

Please make sure that all widget extenders have the

same Theme value. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ThemeSwatch A value that indicates the theme swatch of the

control, this property only works when

WijmoControlMode property is Mobile. (Inherited

from C1.Web.Wijmo.Controls.C1TargetControlBase)

ToolTip (Inherited from

System.Web.UI.WebControls.WebControl)

TransAnimation Determines the animation style when switching

between pages.

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load

client resources from CDN (Content Delivery

Page 81: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

79

Network) path given by property CDNPath.

(Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from

System.Web.UI.WebControls.WebControl)

WijmoControlMode A value that indicates mode of the control, whether

it is a mobile or web control. Note that only one

value can be used for the whole website or project.

(Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

WijmoCssAdapter Indicates the control applies the theme of JQuery UI

or Bootstrap. (Inherited from

C1.Web.Wijmo.Controls.C1TargetControlBase)

Top

See Also

Reference

C1LightBox Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

AutoPlay Property Determines whether pages are automatically displayed in order.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.AutoPlay", Description="When AutoPlay

Page 82: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

80

is true the gallery images will be played automatically (similarly to a

slideshow).")>

Public Property AutoPlay As System.Boolean

C#

[C1Category("Behavior")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBox.AutoPlay", Description="When AutoPlay is true

the gallery images will be played automatically (similarly to a

slideshow).")]

public System.bool AutoPlay {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

AutoPlayMovies Property Determines whether to turn on the autoplay option in movie player.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1LightBox.AutoPlayMovies",

Description="Determines whether to turn on the autoplay option in the movie

player.")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property AutoPlayMovies As System.Boolean

C#

[WidgetOption()]

[C1Category("Behavior")]

[C1Description(Key="C1LightBox.AutoPlayMovies", Description="Determines

whether to turn on the autoplay option in the movie player.")]

[System.ComponentModel.DefaultValue()]

public System.bool AutoPlayMovies {get; set;}

Page 83: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

81

See Also

Reference

C1LightBox Class

C1LightBox Members

AutoSize Property A value determines whether to auto-size to keep the original width/height ratio of content.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1LightBox.AutoSize", Description="A value

determines whether to auto-size to keep the original width/height ratio of

content.")>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

Public Property AutoSize As System.Boolean

C#

[C1Category("Behavior")]

[C1Description(Key="C1LightBox.AutoSize", Description="A value determines

whether to auto-size to keep the original width/height ratio of content.")]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

public System.bool AutoSize {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ClickPause Property Determines whether to pause the auto-play when clicking the content.

Syntax

Visual Basic (Declaration)

Page 84: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

82

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.ClickPause", Description="Determines

whether to pause the auto-play when clicking the content.")>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property ClickPause As System.Boolean

C#

[WidgetOption()]

[C1Description(Key="C1LightBox.ClickPause", Description="Determines whether

to pause the auto-play when clicking the content.")]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public System.bool ClickPause {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CloseOnEscape Property Determines whether to close the popup window when user presses the ESC key.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.CloseOnEscape",

Description="Determines whether to close the popup window when user presses

the ESC key.")>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CloseOnEscape As System.Boolean

C#

[WidgetOption()]

[C1Description(Key="C1LightBox.CloseOnEscape", Description="Determines

whether to close the popup window when user presses the ESC key.")]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

Page 85: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

83

public System.bool CloseOnEscape {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CloseOnOuterClick Property Determines whether to close the popup window when user clicks on the out side of content.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.CloseOnOuterClick",

Description="Determines whether to close the popup window when user clicks on

the out side of content.")>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CloseOnOuterClick As System.Boolean

C#

[WidgetOption()]

[C1Description(Key="C1LightBox.CloseOnOuterClick", Description="Determines

whether to close the popup window when user clicks on the out side of

content.")]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public System.bool CloseOnOuterClick {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ControlsPosition Property Determines the position of control buttons.

Syntax

Page 86: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

84

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.ControlsPosition",

Description="Determines the position of control buttons.")>

<C1CategoryAttribute("Appearance")>

Public Property ControlsPosition As ButtonPosition

C#

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

[C1Description(Key="C1LightBox.ControlsPosition", Description="Determines the

position of control buttons.")]

[C1Category("Appearance")]

public ButtonPosition ControlsPosition {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CounterFormat Property Determines the text format of counter.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.CounterFormat",

Description="Determines the text format of counter.")>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CounterFormat As System.String

C#

[WidgetOption()]

[C1Description(Key="C1LightBox.CounterFormat", Description="Determines the

text format of counter.")]

[C1Category("Behavior")]

Page 87: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

85

[System.ComponentModel.DefaultValue()]

public System.string CounterFormat {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CounterLimit Property Determines the maximum number of digit buttons in sequence counter type.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.CounterLimit",

Description="Determines the maximum number of digit buttons in sequence

counter type.")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CounterLimit As System.Integer

C#

[C1Description(Key="C1LightBox.CounterLimit", Description="Determines the

maximum number of digit buttons in sequence counter type.")]

[WidgetOption()]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public System.int CounterLimit {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CounterType Property Determines the type counter style.

Syntax

Page 88: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

86

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.CounterType", Description="Determines

the type counter style.")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CounterType As CounterType

C#

[C1Description(Key="C1LightBox.CounterType", Description="Determines the type

counter style.")]

[WidgetOption()]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public CounterType CounterType {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

CtrlButtons Property Determines the visibility of the control buttons.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="C1.Web.Wijmo.Controls.Design.UITypeEditors.C1FlagsEnumUITypeE

ditor, C1.Web.Wijmo.Controls.Design.4")>

<C1DescriptionAttribute(Key="C1LightBox.CtrlButtons", Description="Determines

the visibility of the control buttons.")>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property CtrlButtons As CtrlButtons

Page 89: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

87

C#

[WidgetOption()]

[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="C1.Web.Wijmo.Controls.Design.UITypeEditors.C1FlagsEnumUITypeE

ditor, C1.Web.Wijmo.Controls.Design.4")]

[C1Description(Key="C1LightBox.CtrlButtons", Description="Determines the

visibility of the control buttons.")]

[C1Category("Appearance")]

[System.ComponentModel.DefaultValue()]

public CtrlButtons CtrlButtons {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Delay Property Determines the time span in milliseconds between pages in autoplay mode.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.Delay", Description="Determines the

time span in milliseconds between pages in autoplay mode.")>

<C1CategoryAttribute("Behavior")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

Public Property Delay As System.Integer

C#

[C1Description(Key="C1LightBox.Delay", Description="Determines the time span

in milliseconds between pages in autoplay mode.")]

[C1Category("Behavior")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

public System.int Delay {get; set;}

See Also

Page 90: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

88

Reference

C1LightBox Class

C1LightBox Members

DialogButtons Property Determines the visibility of the dialog buttons.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="C1.Web.Wijmo.Controls.Design.UITypeEditors.C1FlagsEnumUITypeE

ditor, C1.Web.Wijmo.Controls.Design.4")>

<C1DescriptionAttribute(Key="C1LightBox.DialogButtons",

Description="Determines the visibility of the dialog buttons.")>

<C1CategoryAttribute("Appearance")>

Public Property DialogButtons As DialogButtons

C#

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="C1.Web.Wijmo.Controls.Design.UITypeEditors.C1FlagsEnumUITypeE

ditor, C1.Web.Wijmo.Controls.Design.4")]

[C1Description(Key="C1LightBox.DialogButtons", Description="Determines the

visibility of the dialog buttons.")]

[C1Category("Appearance")]

public DialogButtons DialogButtons {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Page 91: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

89

FlashInstall Property Gets or sets the relative path and name of the flash installation guide.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.FlashInstall", Description="Gets or

sets the relative path and name of the flash installation guide.")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Behavior")>

Public Property FlashInstall As System.String

C#

[C1Description(Key="C1LightBox.FlashInstall", Description="Gets or sets the

relative path and name of the flash installation guide.")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Category("Behavior")]

public System.string FlashInstall {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

FlvPlayer Property Gets or sets the relative path and name of the flash video player.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.FlvPlayer", Description="Gets or sets

the relative path and name of the flash video player.")>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Behavior")>

<WidgetOptionAttribute()>

Public Property FlvPlayer As System.String

Page 92: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

90

C#

[C1Description(Key="C1LightBox.FlvPlayer", Description="Gets or sets the

relative path and name of the flash video player.")]

[System.ComponentModel.DefaultValue()]

[C1Category("Behavior")]

[WidgetOption()]

public System.string FlvPlayer {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Items Property Gets a C1LightBoxItemCollection object that contains the items of the current C1LightBox

control.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<C1CategoryAttribute("Appearance")>

<C1DescriptionAttribute(Key="C1LightBox.Items", Description="Gets a

C1LightBoxItemCollection object that contains the items of the current

C1LightBox control.")>

<System.ComponentModel.BrowsableAttribute(False)>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>

<CollectionItemTypeAttribute(C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItem)

>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<LayoutAttribute(LayoutType.Appearance)>

<WidgetOptionAttribute()>

Public ReadOnly Property Items As C1LightBoxItemCollection

C#

[System.ComponentModel.NotifyParentProperty(true)]

[C1Category("Appearance")]

Page 93: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

91

[C1Description(Key="C1LightBox.Items", Description="Gets a

C1LightBoxItemCollection object that contains the items of the current

C1LightBox control.")]

[System.ComponentModel.Browsable(false)]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Content)]

[System.ComponentModel.RefreshProperties(RefreshProperties.All)]

[CollectionItemType(C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItem)]

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[Layout(LayoutType.Appearance)]

[WidgetOption()]

public C1LightBoxItemCollection Items {get;}

See Also

Reference

C1LightBox Class

C1LightBox Members

KeyNav Property Determines whether to allow keyboard navigation.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1LightBox.KeyNav", Description="Determines

whether to allow keyboard navigation.")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

Public Property KeyNav As System.Boolean

C#

[C1Category("Behavior")]

[C1Description(Key="C1LightBox.KeyNav", Description="Determines whether to

allow keyboard navigation.")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

public System.bool KeyNav {get; set;}

See Also

Page 94: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

92

Reference

C1LightBox Class

C1LightBox Members

Loop Property Determines whether start from the first page when reaching the end in autoplay mode.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.Loop", Description="Determines

whether start from the first page when reaching the end in autoplay mode.")>

<C1CategoryAttribute("Behavior")>

Public Property Loop As System.Boolean

C#

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBox.Loop", Description="Determines whether start

from the first page when reaching the end in autoplay mode.")]

[C1Category("Behavior")]

public System.bool Loop {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

MaxHeight Property A value that indicates the maximum height of the content.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<LayoutAttribute(LayoutType.Sizes)>

Page 95: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

93

<C1CategoryAttribute("Appearance")>

<C1DescriptionAttribute(Key="C1LightBox.MaxHeight", Description="A value that

indicates the maximum height of the content.")>

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("height")>

Public Property MaxHeight As System.Integer

C#

[System.ComponentModel.DefaultValue()]

[System.ComponentModel.NotifyParentProperty(true)]

[Layout(LayoutType.Sizes)]

[C1Category("Appearance")]

[C1Description(Key="C1LightBox.MaxHeight", Description="A value that

indicates the maximum height of the content.")]

[WidgetOption()]

[WidgetOptionName("height")]

public System.int MaxHeight {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

MaxWidth Property A value that indicates the maximum width of the content.

Syntax

Visual Basic (Declaration)

<WidgetOptionNameAttribute("width")>

<LayoutAttribute(LayoutType.Sizes)>

<C1DescriptionAttribute(Key="C1LightBox.MaxWidth", Description="A value that

indicates the maximum width of the content.")>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

Public Property MaxWidth As System.Integer

C#

Page 96: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

94

[WidgetOptionName("width")]

[Layout(LayoutType.Sizes)]

[C1Description(Key="C1LightBox.MaxWidth", Description="A value that indicates

the maximum width of the content.")]

[C1Category("Appearance")]

[System.ComponentModel.NotifyParentProperty(true)]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

public System.int MaxWidth {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Modal Property Determines whether the popped up content is displayed in modal style container.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.Modal", Description="Determines

whether the popped up content is displayed in modal style container.")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property Modal As System.Boolean

C#

[C1Description(Key="C1LightBox.Modal", Description="Determines whether the

popped up content is displayed in modal style container.")]

[WidgetOption()]

[C1Category("Behavior")]

[System.ComponentModel.DefaultValue()]

public System.bool Modal {get; set;}

See Also

Reference

Page 97: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

95

C1LightBox Class

C1LightBox Members

OnClientBeforeClose Property Occurs before the popped up container is closed.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.OnClientBeforeClose",

Description="Occurs before the popped up container is closed.")>

<C1CategoryAttribute("Client-Side Events")>

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("beforeClose")>

<WidgetEventAttribute()>

Public Property OnClientBeforeClose As System.String

C#

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBox.OnClientBeforeClose", Description="Occurs

before the popped up container is closed.")]

[C1Category("Client-Side Events")]

[WidgetOption()]

[WidgetOptionName("beforeClose")]

[WidgetEvent()]

public System.string OnClientBeforeClose {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

OnClientBeforeShow Property Occurs before a page's content is shown.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Client-Side Events")>

Page 98: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

96

<C1DescriptionAttribute(Key="C1LightBox.OnClientBeforeShow",

Description="Occurs before a page's content is shown.")>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("beforeShow")>

<WidgetEventAttribute()>

Public Property OnClientBeforeShow As System.String

C#

[C1Category("Client-Side Events")]

[C1Description(Key="C1LightBox.OnClientBeforeShow", Description="Occurs

before a page's content is shown.")]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

[WidgetOptionName("beforeShow")]

[WidgetEvent()]

public System.string OnClientBeforeShow {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

OnClientClose Property Occurs after the popped up container is closed.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Client-Side Events")>

<C1DescriptionAttribute(Key="C1LightBox.OnClientClose", Description="Occurs

after the popped up container is closed.")>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("close")>

<WidgetEventAttribute()>

Public Property OnClientClose As System.String

C#

[C1Category("Client-Side Events")]

Page 99: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

97

[C1Description(Key="C1LightBox.OnClientClose", Description="Occurs after the

popped up container is closed.")]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

[WidgetOptionName("close")]

[WidgetEvent()]

public System.string OnClientClose {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

OnClientOpen Property Occurs after the popped up container is opened.

Syntax

Visual Basic (Declaration)

<WidgetEventAttribute()>

<C1CategoryAttribute("Client-Side Events")>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("open")>

<C1DescriptionAttribute(Key="C1LightBox.OnClientOpen", Description="Occurs

after the popped up container is opened.")>

Public Property OnClientOpen As System.String

C#

[WidgetEvent()]

[C1Category("Client-Side Events")]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

[WidgetOptionName("open")]

[C1Description(Key="C1LightBox.OnClientOpen", Description="Occurs after the

popped up container is opened.")]

public System.string OnClientOpen {get; set;}

See Also

Reference

Page 100: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

98

C1LightBox Class

C1LightBox Members

OnClientShow Property Occurs after a page's content is shown.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<WidgetOptionNameAttribute("show")>

<WidgetEventAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.OnClientShow", Description="Occurs

after a page's content is shown.")>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Client-Side Events")>

Public Property OnClientShow As System.String

C#

[WidgetOption()]

[WidgetOptionName("show")]

[WidgetEvent()]

[C1Description(Key="C1LightBox.OnClientShow", Description="Occurs after a

page's content is shown.")]

[System.ComponentModel.DefaultValue()]

[C1Category("Client-Side Events")]

public System.string OnClientShow {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Player Property Determines the name of player to host the content.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

Page 101: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

99

<C1DescriptionAttribute(Key="C1LightBox.Player", Description="Determines the

name of player to host the content.")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

Public Property Player As PlayerName

C#

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBox.Player", Description="Determines the name of

player to host the content.")]

[WidgetOption()]

[C1Category("Behavior")]

public PlayerName Player {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Position Property Determines the popup position of content window.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

<LayoutAttribute(LayoutType.Appearance)>

<C1DescriptionAttribute(Key="C1LightBox.Position", Description="Determines

the popup position of content window.")>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter,

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>

Public Property Position As PositionSettings

C#

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Content)]

Page 102: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

100

[Layout(LayoutType.Appearance)]

[C1Description(Key="C1LightBox.Position", Description="Determines the popup

position of content window.")]

[C1Category("Appearance")]

[System.ComponentModel.NotifyParentProperty(true)]

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System,

Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]

public PositionSettings Position {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ResizeAnimation Property Determines the animation style when resizing.

Syntax

Visual Basic (Declaration)

<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter,

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<C1DescriptionAttribute(Key="C1LightBox.ResizeAnimation",

Description="Determines the animation style when resizing.")>

Public ReadOnly Property ResizeAnimation As ResizeAnimation

C#

[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System,

Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]

[WidgetOption()]

[C1Category("Behavior")]

[System.ComponentModel.NotifyParentProperty(true)]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

Page 103: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

101

isibility.Content)]

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[C1Description(Key="C1LightBox.ResizeAnimation", Description="Determines the

animation style when resizing.")]

public ResizeAnimation ResizeAnimation {get;}

See Also

Reference

C1LightBox Class

C1LightBox Members

RootUrl Property Determines the root url for each item.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1LightBox.RootUrl", Description="Determines the

root url for each item.")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

Public Property RootUrl As System.String

C#

[C1Category("Behavior")]

[C1Description(Key="C1LightBox.RootUrl", Description="Determines the root url

for each item.")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

public System.string RootUrl {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ShowControlsOnHover Property Determines whether to display the control buttons only when hovering the mouse to the

content.

Page 104: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

102

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.ShowControlsOnHover",

Description="Determines whether to display the control buttons only when

hovering the mouse to the content.")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property ShowControlsOnHover As System.Boolean

C#

[C1Description(Key="C1LightBox.ShowControlsOnHover", Description="Determines

whether to display the control buttons only when hovering the mouse to the

content.")]

[WidgetOption()]

[C1Category("Appearance")]

[System.ComponentModel.DefaultValue()]

public System.bool ShowControlsOnHover {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ShowCounter Property Determines whether to display the counter.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.ShowCounter", Description="Determines

whether to display the counter.")>

Public Property ShowCounter As System.Boolean

C#

Page 105: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

103

[WidgetOption()]

[C1Category("Appearance")]

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBox.ShowCounter", Description="Determines whether

to display the counter.")]

public System.bool ShowCounter {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ShowMovieControls Property Determines whether to turn on the movie controls in movie player.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Appearance")>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.ShowMovieControls",

Description="Determines whether to turn on the movie controls in movie

player.")>

Public Property ShowMovieControls As System.Boolean

C#

[System.ComponentModel.DefaultValue()]

[C1Category("Appearance")]

[WidgetOption()]

[C1Description(Key="C1LightBox.ShowMovieControls", Description="Determines

whether to turn on the movie controls in movie player.")]

public System.bool ShowMovieControls {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Page 106: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

104

ShowNavButtons Property Determines whether to display the navigation buttons.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Appearance")>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.ShowNavButtons",

Description="Determines whether to display the navigation buttons.")>

<System.ComponentModel.DefaultValueAttribute()>

Public Property ShowNavButtons As System.Boolean

C#

[C1Category("Appearance")]

[WidgetOption()]

[C1Description(Key="C1LightBox.ShowNavButtons", Description="Determines

whether to display the navigation buttons.")]

[System.ComponentModel.DefaultValue()]

public System.bool ShowNavButtons {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

ShowTimer Property Determines whether to display the time bar.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.ShowTimer", Description="Determines

whether to display the time bar.")>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Appearance")>

<WidgetOptionAttribute()>

Public Property ShowTimer As System.Boolean

Page 107: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

105

C#

[C1Description(Key="C1LightBox.ShowTimer", Description="Determines whether to

display the time bar.")]

[System.ComponentModel.DefaultValue()]

[C1Category("Appearance")]

[WidgetOption()]

public System.bool ShowTimer {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

SlideDirection Property Determines the slide direction.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.SlideDirection",

Description="Determines the slide direction.")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Appearance")>

Public Property SlideDirection As Orientation

C#

[C1Description(Key="C1LightBox.SlideDirection", Description="Determines the

slide direction.")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Category("Appearance")]

public Orientation SlideDirection {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

Page 108: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

106

TextHideOption Property Determines the animation style when hiding the text.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter,

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.TextHideOption",

Description="Determines the animation style when hiding the text.")>

Public ReadOnly Property TextHideOption As SlideAnimation

C#

[C1Category("Behavior")]

[System.ComponentModel.NotifyParentProperty(true)]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Content)]

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System,

Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]

[WidgetOption()]

[C1Description(Key="C1LightBox.TextHideOption", Description="Determines the

animation style when hiding the text.")]

public SlideAnimation TextHideOption {get;}

See Also

Reference

C1LightBox Class

C1LightBox Members

TextPosition Property Determines the position of text description.

Syntax

Page 109: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

107

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBox.TextPosition",

Description="Determines the position of text description.")>

<LayoutAttribute(LayoutType.Behavior)>

<C1CategoryAttribute("Appearance")>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

Public Property TextPosition As TextPosition

C#

[C1Description(Key="C1LightBox.TextPosition", Description="Determines the

position of text description.")]

[Layout(LayoutType.Behavior)]

[C1Category("Appearance")]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

public TextPosition TextPosition {get; set;}

See Also

Reference

C1LightBox Class

C1LightBox Members

TextShowOption Property Determines the animation style when showing out the text.

Syntax

Visual Basic (Declaration)

<C1CategoryAttribute("Behavior")>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBox.TextShowOption",

Description="Determines the animation style when showing out the text.")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter,

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>

Page 110: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

108

Public ReadOnly Property TextShowOption As SlideAnimation

C#

[C1Category("Behavior")]

[WidgetOption()]

[C1Description(Key="C1LightBox.TextShowOption", Description="Determines the

animation style when showing out the text.")]

[System.ComponentModel.NotifyParentProperty(true)]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Content)]

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System,

Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]

public SlideAnimation TextShowOption {get;}

See Also

Reference

C1LightBox Class

C1LightBox Members

TransAnimation Property Determines the animation style when switching between pages.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.Web.UI.PersistenceModeAttribute(PersistenceMode.InnerProperty)>

<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter,

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>

<WidgetOptionAttribute()>

<C1CategoryAttribute("Behavior")>

<C1DescriptionAttribute(Key="C1LightBox.TransAnimation",

Description="Determines the animation style when switching between pages.")>

<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria

lizationVisibility.Content)>

Public ReadOnly Property TransAnimation As TransitionAnimation

C#

[System.ComponentModel.NotifyParentProperty(true)]

Page 111: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

109

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)]

[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System,

Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]

[WidgetOption()]

[C1Category("Behavior")]

[C1Description(Key="C1LightBox.TransAnimation", Description="Determines the

animation style when switching between pages.")]

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV

isibility.Content)]

public TransitionAnimation TransAnimation {get;}

See Also

Reference

C1LightBox Class

C1LightBox Members

C1LightBoxItem The item of lightbox control.

Object Model

Syntax

Visual Basic (Declaration)

<System.ComponentModel.ToolboxItemAttribute(ToolboxItemType=,

ToolboxItemTypeName="")>

Public Class C1LightBoxItem

Inherits C1.Web.Wijmo.Controls.Settings

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")]

public class C1LightBoxItem : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItem

See Also

Page 112: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

110

Reference

C1LightBoxItem Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Overview The item of lightbox control.

Object Model

Syntax

Visual Basic (Declaration)

<System.ComponentModel.ToolboxItemAttribute(ToolboxItemType=,

ToolboxItemTypeName="")>

Public Class C1LightBoxItem

Inherits C1.Web.Wijmo.Controls.Settings

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")]

public class C1LightBoxItem : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItem

See Also

Reference

C1LightBoxItem Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Members The following tables list the members exposed by C1LightBoxItem.

Public Constructors

Name Description

Page 113: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

111

C1LightBoxItem Constructor Initializes a new instance of the C1LightBoxItem class.

Top

Public Properties

Name Description

Height A value that indicates the height of the content.

ImageUrl Image url of Lightbox item.

LinkUrl Link url of Lightbox item.

Player Determines the name of player to host the content.

Text Text of image.

Title Title of image.

Width A value that indicates the width of the content.

Top

See Also

Reference

C1LightBoxItem Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

C1LightBoxItem Constructor Initializes a new instance of the C1LightBoxItem class.

Syntax

Visual Basic (Declaration)

Public Function New()

C#

public C1LightBoxItem()

Page 114: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

112

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

Properties For a list of all members of this type, see C1LightBoxItem members.

Public Properties

Name Description

Height A value that indicates the height of the content.

ImageUrl Image url of Lightbox item.

LinkUrl Link url of Lightbox item.

Player Determines the name of player to host the content.

Text Text of image.

Title Title of image.

Width A value that indicates the width of the content.

Top

See Also

Reference

C1LightBoxItem Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

Height Property A value that indicates the height of the content.

Syntax

Page 115: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

113

Visual Basic (Declaration)

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<C1DescriptionAttribute(Key="C1LightBoxItem.Height", Description="A value

that indicates the height of the content.")>

<System.ComponentModel.DefaultValueAttribute()>

<LayoutAttribute(LayoutType.Sizes)>

Public Property Height As System.Integer

C#

[System.ComponentModel.NotifyParentProperty(true)]

[C1Description(Key="C1LightBoxItem.Height", Description="A value that

indicates the height of the content.")]

[System.ComponentModel.DefaultValue()]

[Layout(LayoutType.Sizes)]

public System.int Height {get; set;}

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

ImageUrl Property Image url of Lightbox item.

Syntax

Visual Basic (Declaration)

<LayoutAttribute(LayoutType.Appearance)>

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="C1LightBoxItem.ImageUrl",

Description="A value that indicates the Image Url of the LightBox Item.")>

<System.ComponentModel.DefaultValueAttribute()>

<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="System.Web.UI.Design.ImageUrlEditor")>

<System.Web.UI.UrlPropertyAttribute()>

<C1CategoryAttribute("Appearance")>

Public Property ImageUrl As System.String

Page 116: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

114

C#

[Layout(LayoutType.Appearance)]

[WidgetOption()]

[C1Description(Key="C1LightBoxItem.ImageUrl",

Description="A value that indicates the Image Url of the LightBox Item.")]

[System.ComponentModel.DefaultValue()]

[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="System.Web.UI.Design.ImageUrlEditor")]

[System.Web.UI.UrlProperty()]

[C1Category("Appearance")]

public System.string ImageUrl {get; set;}

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

LinkUrl Property Link url of Lightbox item.

Syntax

Visual Basic (Declaration)

<System.Web.UI.UrlPropertyAttribute()>

<C1DescriptionAttribute(Key="C1LightBoxItem.LinkUrl",

Description="A value that indicates the Link Url of the LightBox Item.")>

<System.ComponentModel.DefaultValueAttribute()>

<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="System.Web.UI.Design.UrlEditor")>

<C1CategoryAttribute("Appearance")>

<LayoutAttribute(LayoutType.Appearance)>

<WidgetOptionAttribute()>

Public Property LinkUrl As System.String

C#

Page 117: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

115

[System.Web.UI.UrlProperty()]

[C1Description(Key="C1LightBoxItem.LinkUrl",

Description="A value that indicates the Link Url of the LightBox Item.")]

[System.ComponentModel.DefaultValue()]

[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor,

System.Drawing, Version=4.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a",

EditorTypeName="System.Web.UI.Design.UrlEditor")]

[C1Category("Appearance")]

[Layout(LayoutType.Appearance)]

[WidgetOption()]

public System.string LinkUrl {get; set;}

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

Player Property Determines the name of player to host the content.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="C1LightBoxItem.Player", Description="Determines

the name of player to host the content.")>

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

Public Property Player As PlayerName

C#

[C1Description(Key="C1LightBoxItem.Player", Description="Determines the name

of player to host the content.")]

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

public PlayerName Player {get; set;}

See Also

Reference

Page 118: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

116

C1LightBoxItem Class

C1LightBoxItem Members

Text Property Text of image.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Appearance")>

<LayoutAttribute(LayoutType.Appearance)>

<C1DescriptionAttribute(Key="C1LightBoxItem.Text",

Description="A value that indicates the Text of the LightBox Item.")>

Public Property Text As System.String

C#

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Category("Appearance")]

[Layout(LayoutType.Appearance)]

[C1Description(Key="C1LightBoxItem.Text",

Description="A value that indicates the Text of the LightBox Item.")]

public System.string Text {get; set;}

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

Title Property Title of image.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<System.ComponentModel.DefaultValueAttribute()>

<C1CategoryAttribute("Appearance")>

Page 119: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

117

<C1DescriptionAttribute(Key="C1LightBoxItem.Title",

Description="A value that indicates the Title Url of the LightBox Item.")>

<LayoutAttribute(LayoutType.Appearance)>

Public Property Title As System.String

C#

[WidgetOption()]

[System.ComponentModel.DefaultValue()]

[C1Category("Appearance")]

[C1Description(Key="C1LightBoxItem.Title",

Description="A value that indicates the Title Url of the LightBox Item.")]

[Layout(LayoutType.Appearance)]

public System.string Title {get; set;}

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

Width Property A value that indicates the width of the content.

Syntax

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<C1DescriptionAttribute(Key="C1LightBoxItem.Width", Description="A value that

indicates the width of the content.")>

<LayoutAttribute(LayoutType.Sizes)>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

Public Property Width As System.Integer

C#

[System.ComponentModel.DefaultValue()]

[C1Description(Key="C1LightBoxItem.Width", Description="A value that

indicates the width of the content.")]

[Layout(LayoutType.Sizes)]

[System.ComponentModel.NotifyParentProperty(true)]

public System.int Width {get; set;}

Page 120: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

118

See Also

Reference

C1LightBoxItem Class

C1LightBoxItem Members

C1LightBoxItemCollection

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1LightBoxItemCollection

Inherits System.Collections.Generic.List(Of C1LightBoxItem)

C#

public class C1LightBoxItemCollection :

System.Collections.Generic.List<C1LightBoxItem>

Inheritance Hierarchy

System.Object

System.Collections.Generic.List<T>

C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItemCollection

See Also

Reference

C1LightBoxItemCollection Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Overview

Object Model

Syntax

Page 121: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

119

Visual Basic (Declaration)

Public Class C1LightBoxItemCollection

Inherits System.Collections.Generic.List(Of C1LightBoxItem)

C#

public class C1LightBoxItemCollection :

System.Collections.Generic.List<C1LightBoxItem>

Inheritance Hierarchy

System.Object

System.Collections.Generic.List<T>

C1.Web.Wijmo.Controls.C1LightBox.C1LightBoxItemCollection

See Also

Reference

C1LightBoxItemCollection Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Members The following tables list the members exposed by C1LightBoxItemCollection.

Public Constructors

Name Description

C1LightBoxItemCollection Constructor

Top

Public Properties

Name Description

Capacity (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Count (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Item (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Top

Page 122: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

120

Public Methods

Name Description

Add (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

AddRange (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

AsReadOnly (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

BinarySearch Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

Clear (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Contains (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

ConvertAll<TOutput> (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

CopyTo Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

Exists (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Find (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

FindAll (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

FindIndex Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

FindLast (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

FindLastIndex Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

ForEach (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Page 123: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

121

GetRange (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

IndexOf Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

Insert (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

InsertRange (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

LastIndexOf Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

Remove (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

RemoveAll (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

RemoveAt (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

RemoveRange (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Reverse Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

Sort Overloaded. (Inherited from

System.Collections.Generic.List<C1LightBoxItem>)

ToArray (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

TrimExcess (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

TrueForAll (Inherited from System.Collections.Generic.List<C1LightBoxItem>)

Top

See Also

Reference

C1LightBoxItemCollection Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

Page 124: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

122

C1LightBoxItemCollection Constructor

Syntax

Visual Basic (Declaration)

Public Function New()

C#

public C1LightBoxItemCollection()

See Also

Reference

C1LightBoxItemCollection Class

C1LightBoxItemCollection Members

ResizeAnimation

Object Model

Syntax

Visual Basic (Declaration)

Public Class ResizeAnimation

Inherits C1.Web.Wijmo.Controls.Settings

C#

public class ResizeAnimation : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1LightBox.ResizeAnimation

See Also

Reference

ResizeAnimation Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Page 125: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

123

Overview

Object Model

Syntax

Visual Basic (Declaration)

Public Class ResizeAnimation

Inherits C1.Web.Wijmo.Controls.Settings

C#

public class ResizeAnimation : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1LightBox.ResizeAnimation

See Also

Reference

ResizeAnimation Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Members The following tables list the members exposed by ResizeAnimation.

Public Constructors

Name Description

ResizeAnimation Constructor

Top

Public Properties

Name Description

Page 126: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

124

Animated Determines the effects to animate.

Duration Defines the duration to animate

Top

See Also

Reference

ResizeAnimation Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

ResizeAnimation Constructor

Syntax

Visual Basic (Declaration)

Public Function New()

C#

public ResizeAnimation()

See Also

Reference

ResizeAnimation Class

ResizeAnimation Members

Properties For a list of all members of this type, see ResizeAnimation members.

Public Properties

Name Description

Animated Determines the effects to animate.

Duration Defines the duration to animate

Top

Page 127: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

125

See Also

Reference

ResizeAnimation Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

Animated Property Determines the effects to animate.

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="Animation.Animated", Description="Detemines the

effects to animate.")>

<LayoutAttribute(LayoutType.Behavior)>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.ComponentModel.DefaultValueAttribute()>

<WidgetOptionAttribute()>

Public Property Animated As ResizeMode

C#

[C1Description(Key="Animation.Animated", Description="Detemines the effects

to animate.")]

[Layout(LayoutType.Behavior)]

[System.ComponentModel.NotifyParentProperty(true)]

[System.ComponentModel.DefaultValue()]

[WidgetOption()]

public ResizeMode Animated {get; set;}

See Also

Reference

ResizeAnimation Class

ResizeAnimation Members

Duration Property Defines the duration to animate

Syntax

Page 128: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

126

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="Animation.Duration", Description="Defines the

duration to animate.")>

<System.ComponentModel.DefaultValueAttribute()>

<LayoutAttribute(LayoutType.Behavior)>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<WidgetOptionAttribute()>

Public Property Duration As System.Integer

C#

[C1Description(Key="Animation.Duration", Description="Defines the duration to

animate.")]

[System.ComponentModel.DefaultValue()]

[Layout(LayoutType.Behavior)]

[System.ComponentModel.NotifyParentProperty(true)]

[WidgetOption()]

public System.int Duration {get; set;}

See Also

Reference

ResizeAnimation Class

ResizeAnimation Members

TransitionAnimation

Object Model

Syntax

Visual Basic (Declaration)

Public Class TransitionAnimation

Inherits C1.Web.Wijmo.Controls.Settings

C#

public class TransitionAnimation : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

Page 129: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

127

System.Object

C1.Web.Wijmo.Controls.C1LightBox.TransitionAnimation

See Also

Reference

TransitionAnimation Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Overview

Object Model

Syntax

Visual Basic (Declaration)

Public Class TransitionAnimation

Inherits C1.Web.Wijmo.Controls.Settings

C#

public class TransitionAnimation : C1.Web.Wijmo.Controls.Settings

Inheritance Hierarchy

System.Object

C1.Web.Wijmo.Controls.C1LightBox.TransitionAnimation

See Also

Reference

TransitionAnimation Members

C1.Web.Wijmo.Controls.C1LightBox Namespace

Members The following tables list the members exposed by TransitionAnimation.

Public Constructors

Name Description

Page 130: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

128

TransitionAnimation Constructor

Top

Public Properties

Name Description

Animated Determines the effects to animate.

Duration Defines the duration to animate

Easing Defines the easing to animate

Top

See Also

Reference

TransitionAnimation Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

TransitionAnimation Constructor

Syntax

Visual Basic (Declaration)

Public Function New()

C#

public TransitionAnimation()

See Also

Reference

TransitionAnimation Class

TransitionAnimation Members

Properties For a list of all members of this type, see TransitionAnimation members.

Page 131: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

129

Public Properties

Name Description

Animated Determines the effects to animate.

Duration Defines the duration to animate

Easing Defines the easing to animate

Top

See Also

Reference

TransitionAnimation Class

C1.Web.Wijmo.Controls.C1LightBox Namespace

Animated Property Determines the effects to animate.

Syntax

Visual Basic (Declaration)

<WidgetOptionAttribute()>

<C1DescriptionAttribute(Key="Animation.Animated", Description="Detemines the

effects to animate.")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<System.ComponentModel.DefaultValueAttribute()>

<LayoutAttribute(LayoutType.Behavior)>

Public Property Animated As TransitionMode

C#

[WidgetOption()]

[C1Description(Key="Animation.Animated", Description="Detemines the effects

to animate.")]

[System.ComponentModel.NotifyParentProperty(true)]

[System.ComponentModel.DefaultValue()]

[Layout(LayoutType.Behavior)]

public TransitionMode Animated {get; set;}

Page 132: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

130

See Also

Reference

TransitionAnimation Class

TransitionAnimation Members

Duration Property Defines the duration to animate

Syntax

Visual Basic (Declaration)

<C1DescriptionAttribute(Key="Animation.Duration", Description="Defines the

duration to animate.")>

<System.ComponentModel.DefaultValueAttribute()>

<LayoutAttribute(LayoutType.Behavior)>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<WidgetOptionAttribute()>

Public Property Duration As System.Integer

C#

[C1Description(Key="Animation.Duration", Description="Defines the duration to

animate.")]

[System.ComponentModel.DefaultValue()]

[Layout(LayoutType.Behavior)]

[System.ComponentModel.NotifyParentProperty(true)]

[WidgetOption()]

public System.int Duration {get; set;}

See Also

Reference

TransitionAnimation Class

TransitionAnimation Members

Easing Property Defines the easing to animate

Syntax

Page 133: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

131

Visual Basic (Declaration)

<System.ComponentModel.DefaultValueAttribute()>

<LayoutAttribute(LayoutType.Behavior)>

<C1DescriptionAttribute(Key="Animation.Easing", Description="Defines the

easing to animate.")>

<System.ComponentModel.NotifyParentPropertyAttribute(True)>

<WidgetOptionAttribute()>

Public Property Easing As Easing

C#

[System.ComponentModel.DefaultValue()]

[Layout(LayoutType.Behavior)]

[C1Description(Key="Animation.Easing", Description="Defines the easing to

animate.")]

[System.ComponentModel.NotifyParentProperty(true)]

[WidgetOption()]

public Easing Easing {get; set;}

See Also

Reference

TransitionAnimation Class

TransitionAnimation Members

Enumerations

ButtonPosition Determines the position of the nav-buttons.

Syntax

Visual Basic (Declaration)

Public Enum ButtonPosition

Inherits System.Enum

C#

public enum ButtonPosition : System.Enum

Members

Page 134: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

132

Member Description

Inside Inside of content.

Outside Outside of content.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.ButtonPosition

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

CounterType Determines the type counter style.

Syntax

Visual Basic (Declaration)

Public Enum CounterType

Inherits System.Enum

C#

public enum CounterType : System.Enum

Members

Member Description

Default Default counter style that uses the CounterFormat string.

Sequence Sequent digits counter style.

Inheritance Hierarchy

Page 135: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

133

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.CounterType

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

CtrlButtons Determines the visibility of control buttons.

Syntax

Visual Basic (Declaration)

<System.FlagsAttribute()>

Public Enum CtrlButtons

Inherits System.Enum

C#

[System.Flags()]

public enum CtrlButtons : System.Enum

Members

Member Description

None No control buttons are displayed.

Play Displays the Play button.

Stop Displays the Stop button.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.CtrlButtons

Page 136: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

134

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

DialogButtons Determines the visibility of dialog buttons.

Syntax

Visual Basic (Declaration)

<System.FlagsAttribute()>

Public Enum DialogButtons

Inherits System.Enum

C#

[System.Flags()]

public enum DialogButtons : System.Enum

Members

Member Description

Close Displays the Close button.

FullSize Displays the FullSize button.

None No dialog buttons are displayed.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.DialogButtons

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

Page 137: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

135

PlayerName Determines the name of player to host the content.

Syntax

Visual Basic (Declaration)

Public Enum PlayerName

Inherits System.Enum

C#

public enum PlayerName : System.Enum

Members

Member Description

AutoDetect Automatically detect the player by URL.

Flv Content is an flash video and will be hosted in flash player.

Iframe Content will be hosted inside an IFrame.

Img Content will be hosted in an Img tag.

Inline Content is an inline section.

Qt Content will be hosted inside quick time object.

Swf Content will be hosted in flash object.

Wijvideo Content will be played by the Wijmo HTML5 Video Player.

Wmp Content will be hosted inside windows media player object.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.PlayerName

Page 138: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

136

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

ResizeMode Determines the animation style when resizing.

Syntax

Visual Basic (Declaration)

Public Enum ResizeMode

Inherits System.Enum

C#

public enum ResizeMode : System.Enum

Members

Member Description

Hw Resize the height in advance of width.

None No animation.

Sync Resize both the width and height at the same time.

Wh Resize the width in advance of height.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.ResizeMode

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

Page 139: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

137

TextPosition Determines the position of text description.

Syntax

Visual Basic (Declaration)

Public Enum TextPosition

Inherits System.Enum

C#

public enum TextPosition : System.Enum

Members

Member Description

Inside Displays the text description inside the content.

None Text description is hidden.

Outside Displays the text description outside the content.

Overlay Displays the text description inside the content with overlay style.

TitleOverlay Displays the text description inside the content with title overlay style.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.TextPosition

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace

TransitionMode Determines the animation style when switching between pages.

Page 140: ComponentOne Accordion for ASP.NET Wijmoprerelease.componentone.com/.../ASP.LightBox.pdf · Sequence Counter in the LightBox for an example. Media Hosting C1LightBox supports hosting

LightBox for ASP.NET Web Forms

138

Syntax

Visual Basic (Declaration)

Public Enum TransitionMode

Inherits System.Enum

C#

public enum TransitionMode : System.Enum

Members

Member Description

Fade Fade animation.

None No animation.

Slide Slide animation.

Inheritance Hierarchy

System.Object

System.ValueType

System.Enum

C1.Web.Wijmo.Controls.C1LightBox.TransitionMode

See Also

Reference

C1.Web.Wijmo.Controls.C1LightBox Namespace