-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThemeParametersSelector.ascx
22 lines (21 loc) · 1.09 KB
/
ThemeParametersSelector.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%@ Control Language="vb" AutoEventWireup="true" CodeFile="ThemeParametersSelector.ascx.vb" Inherits="UserControl_ThemeParametersSelector" %>
<div class="themes-parameters-container">
<%
If Utils.CanChangeBaseColor Then
%>
<dx:ASPxComboBox runat="server" ID="BaseColorEditor" Caption="Base Color" EnableTheming="false" TextField="Value" DropDownRows="8">
<ItemImage Height="18px" Width="18px" />
<ClientSideEvents SelectedIndexChanged="function(s){ DXDemo.SetCurrentBaseColor(s.GetSelectedItem().value); }" />
</dx:ASPxComboBox>
<%
End If
%>
<dx:ASPxComboBox runat="server" ID="FontEditor" Caption="Font" TextField="Text" EnableTheming="false" CssClass="font-editor" >
<Buttons>
<dx:EditButton Image-SpriteProperties-CssClass="icon font" Position="Left" />
</Buttons>
<ListBoxStyle CssClass="font-editor" />
<ItemImage SpriteProperties-CssClass="icon font" />
<ClientSideEvents SelectedIndexChanged="function(s){ DXDemo.SetCurrentFont(s.GetSelectedItem().value); }" ButtonClick="DXDemo.iconButtonClick" />
</dx:ASPxComboBox>
</div>