Skip to content

Commit f61bffb

Browse files
v21.1.35
1 parent 6704c9f commit f61bffb

File tree

1,564 files changed

+322624
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,564 files changed

+322624
-1
lines changed

README.md

+1-1

common/Assets/Advantage_Runner.png

40.7 KB

common/Assets/App.ico

4.19 KB
Binary file not shown.

common/Assets/Aquil.png

44.3 KB

common/Assets/Axis_XT.png

41.9 KB
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<SampleSource>
3+
<Source>SyncfusionOfflineCube</Source>
4+
<Version>SQL2005</Version>
5+
<FilePath />
6+
<ServerName />
7+
<DatabaseName />
8+
</SampleSource>

common/Assets/FieldEffect.png

40.1 KB

common/Assets/Gadgets/8x.png

30.7 KB

common/Assets/Gadgets/Aquaracer.png

56.3 KB

common/Assets/Gadgets/Carrera.png

40.8 KB

common/Assets/Gadgets/Envy_X2.png

48 KB

common/Assets/Gadgets/Fastrack.png

45.8 KB

common/Assets/Gadgets/G-Shock.png

47.7 KB

common/Assets/Gadgets/Iphone5.png

40.7 KB

common/Assets/Gadgets/Lumia_800.png

46.1 KB

common/Assets/Gadgets/Lumia_920.png

32.5 KB
32.1 KB

common/Assets/Gadgets/Macbook_Air.png

31 KB

common/Assets/Gadgets/Men_Black.png

31.7 KB

common/Assets/Gadgets/Monaco.png

33.4 KB

common/Assets/Gadgets/One_X.png

25.5 KB

common/Assets/Gadgets/Pavilion_G6.png

41.8 KB

common/Assets/Gadgets/S3.png

42.3 KB
40 KB

common/Assets/Gadgets/Submariner.png

31.1 KB

common/Assets/Gadgets/Transformer.png

46.5 KB

common/Assets/Gadgets/Vaio.png

49.5 KB

common/Assets/Gadgets/XPS12.png

43 KB

common/Assets/Gadgets/XPS15.png

34 KB

common/Assets/Gadgets/Xperia_Tipo.png

26.1 KB

common/Assets/Gadgets/Xperia_Z.png

22 KB

common/Assets/Gadgets/Yoga.png

34.5 KB
3.87 KB
2.52 KB
3.42 KB
2.55 KB
3.45 KB
2.61 KB
2.84 KB
2.85 KB
2.38 KB
2.51 KB
3.57 KB
2.92 KB
3.97 KB
2.57 KB
2.62 KB
3.41 KB
3.08 KB
3.3 KB
2.46 KB
3.07 KB
2.41 KB
3.67 KB
2.97 KB
2.73 KB
3.14 KB
3.26 KB
3.49 KB
2.67 KB
3.85 KB
2.74 KB
2.97 KB
2.91 KB
2.48 KB
3.37 KB
2.55 KB
2.64 KB
3.16 KB
2.17 KB
4.32 KB
2.94 KB
2.08 KB
2.58 KB
3.24 KB
4.33 KB
3.02 KB
2.5 KB
2.53 KB
2.92 KB
3.71 KB
2.45 KB
2.24 KB
2.41 KB
2.95 KB
2.45 KB

common/Assets/Movie/movie.png

97.5 KB

common/Assets/Northwind.sdf

2.09 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ArrayOfOlapReport>
3+
<OlapReport>
4+
<CategoricalElements>
5+
<List>
6+
<Item>
7+
<ElementValue d6p1:type="MeasureElements" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
8+
<Elements>
9+
<MeasureElement>
10+
<Name>Internet Sales Amount</Name>
11+
<UniqueName>[MEASURES].[Internet Sales Amount]</UniqueName>
12+
</MeasureElement>
13+
</Elements>
14+
</ElementValue>
15+
</Item>
16+
<Item>
17+
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
18+
<Name>Customer</Name>
19+
<Hierarchy>
20+
<Name>Customer Geography</Name>
21+
<LevelElements>
22+
<LevelElement>
23+
<Name>Country</Name>
24+
<MemberElements />
25+
<IncludeAvailableMembers>false</IncludeAvailableMembers>
26+
</LevelElement>
27+
</LevelElements>
28+
</Hierarchy>
29+
<HierarchyName>Customer Geography</HierarchyName>
30+
</ElementValue>
31+
</Item>
32+
</List>
33+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
34+
</CategoricalElements>
35+
<EngineVersion>Version3</EngineVersion>
36+
<ChartSettings>
37+
<AreaBackground />
38+
<BorderColor>#000000</BorderColor>
39+
<DataPointValue>false</DataPointValue>
40+
<ChartBackground>#FFFFFF</ChartBackground>
41+
<ChartColorPalette>Default</ChartColorPalette>
42+
<ChartDockLegendPosition>Top</ChartDockLegendPosition>
43+
<ChartType>Column</ChartType>
44+
<GradientAngle>0</GradientAngle>
45+
<InteriorBackground>#FFFFFF</InteriorBackground>
46+
<IsCircleSymbol>false</IsCircleSymbol>
47+
<IsLabelTemplate1>false</IsLabelTemplate1>
48+
<IsLabelTemplate2>false</IsLabelTemplate2>
49+
<IsLabelTemplate3>false</IsLabelTemplate3>
50+
<IsRectangleSymbol>false</IsRectangleSymbol>
51+
<IsSeriesName>false</IsSeriesName>
52+
<IsTriangleSymbol>false</IsTriangleSymbol>
53+
<IsXValues>false</IsXValues>
54+
<IsYValues>false</IsYValues>
55+
<LabelsVisibility>false</LabelsVisibility>
56+
<LegendCheckBoxVisibility>false</LegendCheckBoxVisibility>
57+
<LegendVisibility>true</LegendVisibility>
58+
<ExpanderVisibility>false</ExpanderVisibility>
59+
<StrokeThickness>0</StrokeThickness>
60+
<SymbolsVisibility>false</SymbolsVisibility>
61+
<TemplateVisibility>false</TemplateVisibility>
62+
<XAxisFontFace>Segoe UI</XAxisFontFace>
63+
<XAxisForeGround>#1E90FF</XAxisForeGround>
64+
<XLabelFontWeight>Normal</XLabelFontWeight>
65+
<YAxisFontFace>Segoe UI</YAxisFontFace>
66+
<YAxisForeGround>#1E90FF</YAxisForeGround>
67+
<YLabelFontWeight>Normal</YLabelFontWeight>
68+
</ChartSettings>
69+
<CurrentCubeName>Adventure Works</CurrentCubeName>
70+
<FilterElements>
71+
<List />
72+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
73+
</FilterElements>
74+
<Name>Basic Template</Name>
75+
<SeriesElements>
76+
<List>
77+
<Item>
78+
<Axis>Series</Axis>
79+
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
80+
<Name>Date</Name>
81+
<Hierarchy>
82+
<Name>Fiscal</Name>
83+
<LevelElements>
84+
<LevelElement>
85+
<Name>Fiscal Year</Name>
86+
<MemberElements />
87+
<IncludeAvailableMembers>false</IncludeAvailableMembers>
88+
</LevelElement>
89+
</LevelElements>
90+
</Hierarchy>
91+
<HierarchyName>Fiscal</HierarchyName>
92+
</ElementValue>
93+
</Item>
94+
</List>
95+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
96+
</SeriesElements>
97+
<ShowEmptyColumnData>false</ShowEmptyColumnData>
98+
<ShowEmptyRowData>false</ShowEmptyRowData>
99+
<ShowExpanders>true</ShowExpanders>
100+
<SlicerElements>
101+
<List />
102+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
103+
</SlicerElements>
104+
<TogglePivot>false</TogglePivot>
105+
</OlapReport>
106+
<OlapReport>
107+
<CategoricalElements>
108+
<List>
109+
<Item>
110+
<ElementValue d6p1:type="MeasureElements" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
111+
<Elements>
112+
<MeasureElement>
113+
<Name>Internet Sales Amount</Name>
114+
<UniqueName>[MEASURES].[Internet Sales Amount]</UniqueName>
115+
</MeasureElement>
116+
</Elements>
117+
</ElementValue>
118+
</Item>
119+
<Item>
120+
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
121+
<Name>Customer</Name>
122+
<Hierarchy>
123+
<Name>Customer Geography</Name>
124+
<LevelElements>
125+
<LevelElement>
126+
<Name>Country</Name>
127+
<MemberElements />
128+
<IncludeAvailableMembers>false</IncludeAvailableMembers>
129+
</LevelElement>
130+
</LevelElements>
131+
</Hierarchy>
132+
<HierarchyName>Customer Geography</HierarchyName>
133+
</ElementValue>
134+
</Item>
135+
</List>
136+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
137+
</CategoricalElements>
138+
<EngineVersion>Version3</EngineVersion>
139+
<ChartSettings>
140+
<AreaBackground />
141+
<BorderColor>#000000</BorderColor>
142+
<DataPointValue>false</DataPointValue>
143+
<ChartBackground>#FFFFFF</ChartBackground>
144+
<ChartColorPalette>Default</ChartColorPalette>
145+
<ChartDockLegendPosition>Top</ChartDockLegendPosition>
146+
<ChartType>Column</ChartType>
147+
<GradientAngle>0</GradientAngle>
148+
<InteriorBackground>#FFFFFF</InteriorBackground>
149+
<IsCircleSymbol>false</IsCircleSymbol>
150+
<IsLabelTemplate1>false</IsLabelTemplate1>
151+
<IsLabelTemplate2>false</IsLabelTemplate2>
152+
<IsLabelTemplate3>false</IsLabelTemplate3>
153+
<IsRectangleSymbol>false</IsRectangleSymbol>
154+
<IsSeriesName>false</IsSeriesName>
155+
<IsTriangleSymbol>false</IsTriangleSymbol>
156+
<IsXValues>false</IsXValues>
157+
<IsYValues>false</IsYValues>
158+
<LabelsVisibility>false</LabelsVisibility>
159+
<LegendCheckBoxVisibility>false</LegendCheckBoxVisibility>
160+
<LegendVisibility>true</LegendVisibility>
161+
<ExpanderVisibility>false</ExpanderVisibility>
162+
<StrokeThickness>0</StrokeThickness>
163+
<SymbolsVisibility>false</SymbolsVisibility>
164+
<TemplateVisibility>false</TemplateVisibility>
165+
<XAxisFontFace>Segoe UI</XAxisFontFace>
166+
<XAxisForeGround>#1E90FF</XAxisForeGround>
167+
<XLabelFontWeight>Normal</XLabelFontWeight>
168+
<YAxisFontFace>Segoe UI</YAxisFontFace>
169+
<YAxisForeGround>#1E90FF</YAxisForeGround>
170+
<YLabelFontWeight>Normal</YLabelFontWeight>
171+
</ChartSettings>
172+
<CurrentCubeName>Adventure Works</CurrentCubeName>
173+
<FilterElements>
174+
<List />
175+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
176+
</FilterElements>
177+
<Name>Filtered Dimension</Name>
178+
<SeriesElements>
179+
<List>
180+
<Item>
181+
<Axis>Series</Axis>
182+
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
183+
<Name>Date</Name>
184+
<Hierarchy>
185+
<Name>Fiscal</Name>
186+
<LevelElements>
187+
<LevelElement>
188+
<Name>Fiscal Year</Name>
189+
<MemberElements />
190+
<IncludeAvailableMembers>false</IncludeAvailableMembers>
191+
</LevelElement>
192+
</LevelElements>
193+
</Hierarchy>
194+
<HierarchyName>Fiscal</HierarchyName>
195+
</ElementValue>
196+
<ExcludedElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance">
197+
<Name>Date</Name>
198+
<Hierarchy>
199+
<Name>Fiscal</Name>
200+
<LevelElements>
201+
<LevelElement>
202+
<Name>Fiscal Year</Name>
203+
<MemberElements>
204+
<MemberElement>
205+
<Name>FY 2004</Name>
206+
<ChildMemberElements />
207+
<DimensionName />
208+
<Level>0</Level>
209+
<IsParentLevel>true</IsParentLevel>
210+
<UniqueName>[Date].[Fiscal].[Fiscal Year].[FY 2004]</UniqueName>
211+
</MemberElement>
212+
<MemberElement>
213+
<Name>FY 2005</Name>
214+
<ChildMemberElements />
215+
<DimensionName />
216+
<Level>0</Level>
217+
<IsParentLevel>true</IsParentLevel>
218+
<UniqueName>[Date].[Fiscal].[Fiscal Year].[FY 2005]</UniqueName>
219+
</MemberElement>
220+
</MemberElements>
221+
<IncludeAvailableMembers>true</IncludeAvailableMembers>
222+
</LevelElement>
223+
</LevelElements>
224+
</Hierarchy>
225+
<HierarchyName>Fiscal</HierarchyName>
226+
</ExcludedElementValue>
227+
</Item>
228+
</List>
229+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
230+
</SeriesElements>
231+
<ShowEmptyColumnData>false</ShowEmptyColumnData>
232+
<ShowEmptyRowData>false</ShowEmptyRowData>
233+
<ShowExpanders>true</ShowExpanders>
234+
<SlicerElements>
235+
<List />
236+
<IsFilterOrSortOn>false</IsFilterOrSortOn>
237+
</SlicerElements>
238+
<TogglePivot>false</TogglePivot>
239+
</OlapReport>
240+
</ArrayOfOlapReport>
Binary file not shown.
Binary file not shown.
2.11 MB
Binary file not shown.

common/Assets/Olap/Data/Sales DB.xls

2.01 MB
Binary file not shown.
70.5 KB
66.6 KB
71 KB
60.6 KB
60.4 KB
65.2 KB
67.5 KB
69.6 KB
69 KB
66.5 KB
63.6 KB
71.7 KB
78.8 KB
64.8 KB
71.6 KB
72.6 KB
57.5 KB
67.4 KB
67.5 KB
53.3 KB
56.7 KB
65.3 KB
59.6 KB
65.6 KB
45.3 KB
16 KB
49.6 KB
53.6 KB
69.8 KB
61.7 KB
61.3 KB
67.2 KB
49.3 KB
75.4 KB
72.8 KB
67.8 KB
68.5 KB

common/Assets/Population.jpg

87 KB
944 Bytes
1.09 KB
898 Bytes
808 Bytes
900 Bytes

common/Assets/RunCruise.png

31 KB
234 Bytes
232 Bytes
232 Bytes

common/Assets/ToolBarIcons/Bold.png

306 Bytes

common/Assets/ToolBarIcons/Italic.png

1.02 KB

common/Assets/ToolBarIcons/Label.png

1.29 KB
721 Bytes

common/Assets/error.png

3.34 KB

common/Assets/no.png

1.11 KB

common/Assets/yes.png

643 Bytes

common/Behaviors/LaunchDemoAction.cs

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
#region Copyright Syncfusion Inc. 2001-2023.
2+
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// [email protected]. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
using Microsoft.Xaml.Behaviors;
9+
using Syncfusion.SfSkinManager;
10+
using System;
11+
using System.Collections.Generic;
12+
using System.Linq;
13+
using System.Text;
14+
using System.Threading.Tasks;
15+
using System.Windows;
16+
using System.Windows.Controls;
17+
18+
namespace syncfusion.demoscommon.wpf
19+
{
20+
public static class DemoLaucherExtension
21+
{
22+
public static T LauchDemo<T>(DemoBrowserViewModel viewmodel, DemoInfo demoInfo) where T : DependencyObject
23+
{
24+
T demo;
25+
var constructorInfo = demoInfo.DemoViewType.GetConstructors().FirstOrDefault(cinfo => cinfo.IsPublic && cinfo.GetParameters().Length == 1 && cinfo.GetParameters()[0].Name == "themename");
26+
if (demoInfo.ThemeMode != ThemeMode.None && constructorInfo != null)
27+
{
28+
demo = Activator.CreateInstance(demoInfo.DemoViewType,
29+
demoInfo.ThemeMode == ThemeMode.Inherit ? viewmodel.SelectedThemeName : DemoBrowserViewModel.DefaultThemeName) as T;
30+
}
31+
else
32+
{
33+
demo = Activator.CreateInstance(demoInfo.DemoViewType) as T;
34+
if (demoInfo.ThemeMode == ThemeMode.Inherit)
35+
{
36+
SfSkinManager.SetTheme(demo, new Theme() { ThemeName = viewmodel.SelectedThemeName });
37+
}
38+
else if (demoInfo.ThemeMode == ThemeMode.Default)
39+
{
40+
SfSkinManager.SetTheme(demo, new Theme() { ThemeName = DemoBrowserViewModel.DefaultThemeName });
41+
}
42+
}
43+
return demo;
44+
}
45+
}
46+
47+
public class LaunchDemoAction : TriggerAction<Button>
48+
{
49+
protected override void Invoke(object parameter)
50+
{
51+
if (this.AssociatedObject == null)
52+
return;
53+
54+
var viewmodel = this.AssociatedObject.DataContext as DemoBrowserViewModel;
55+
if (viewmodel == null)
56+
return;
57+
58+
if ((viewmodel.SelectedProduct != null && viewmodel.SelectedProduct.DemoLauchMode == DemoLauchMode.Window)
59+
|| (viewmodel.SelectedSample != null && viewmodel.SelectedSample.DemoLauchMode == DemoLauchMode.Window))
60+
{
61+
try
62+
{
63+
if (viewmodel.SelectedSample.ShowBusyIndicator)
64+
{
65+
viewmodel.IsProductDemoBusy = true;
66+
}
67+
var window = DemoLaucherExtension.LauchDemo<Window>(viewmodel, viewmodel.SelectedSample);
68+
DemosNavigationService.MainWindow.Dispatcher.BeginInvoke(new Action(() =>
69+
{
70+
viewmodel.IsProductDemoBusy = false;
71+
}),
72+
System.Windows.Threading.DispatcherPriority.ApplicationIdle);
73+
74+
if (window != null)
75+
{
76+
window.Title = viewmodel.SelectedSample.Title;
77+
window.Owner = DemosNavigationService.MainWindow;
78+
window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
79+
window.Closed += Window_Closed;
80+
window.ShowDialog();
81+
}
82+
}
83+
catch (Exception exception)
84+
{
85+
viewmodel.IsProductDemoBusy = false;
86+
ErrorWindow.Show(exception.Message + "\n" + exception.StackTrace);
87+
}
88+
}
89+
}
90+
91+
private void Window_Closed(object sender, EventArgs e)
92+
{
93+
(sender as Window).Closed -= Window_Closed;
94+
(sender as Window).Owner = null;
95+
if (this.AssociatedObject != null)
96+
return;
97+
98+
var viewmodel = this.AssociatedObject.DataContext as DemoBrowserViewModel;
99+
if (viewmodel == null)
100+
return;
101+
102+
viewmodel.SelectedProduct = null;
103+
viewmodel.SelectedSample = null;
104+
}
105+
}
106+
}

0 commit comments

Comments
 (0)