init
@@ -0,0 +1,15 @@
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ApplicationMenuItemData : MenuItemData
|
||||
{
|
||||
public ApplicationMenuItemData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public ApplicationMenuItemData(bool isApplicationMenu)
|
||||
: base(isApplicationMenu)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ApplicationSplitMenuItemData : SplitMenuItemData
|
||||
{
|
||||
public ApplicationSplitMenuItemData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public ApplicationSplitMenuItemData(bool isApplicationMenu)
|
||||
: base(isApplicationMenu)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
7
Common/DTS.Common/RibbonControl/Classes/ButtonData.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ButtonData : ControlData
|
||||
{
|
||||
}
|
||||
}
|
||||
20
Common/DTS.Common/RibbonControl/Classes/CheckBoxData.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class CheckBoxData : ControlData
|
||||
{
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isChecked == value) return;
|
||||
_isChecked = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsChecked"));
|
||||
}
|
||||
}
|
||||
private bool _isChecked;
|
||||
}
|
||||
}
|
||||
7
Common/DTS.Common/RibbonControl/Classes/ComboBoxData.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ComboBoxData : MenuButtonData
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ContextualTabGroupData : INotifyPropertyChanged
|
||||
{
|
||||
public ContextualTabGroupData()
|
||||
: this(null)
|
||||
{
|
||||
}
|
||||
|
||||
public ContextualTabGroupData(string header)
|
||||
{
|
||||
Header = header;
|
||||
}
|
||||
|
||||
|
||||
public string Header
|
||||
{
|
||||
get => _header;
|
||||
|
||||
set
|
||||
{
|
||||
if (_header == value) return;
|
||||
_header = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("Header"));
|
||||
}
|
||||
}
|
||||
private string _header;
|
||||
|
||||
public bool IsVisible
|
||||
{
|
||||
get => _isVisible;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isVisible == value) return;
|
||||
_isVisible = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsVisible"));
|
||||
}
|
||||
}
|
||||
private bool _isVisible;
|
||||
|
||||
public ObservableCollection<TabData> TabDataCollection => _tabDataCollection ?? (_tabDataCollection = new ObservableCollection<TabData>());
|
||||
private ObservableCollection<TabData> _tabDataCollection;
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
private void OnPropertyChanged(PropertyChangedEventArgs e)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, e);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
188
Common/DTS.Common/RibbonControl/Classes/ControlData.cs
Normal file
@@ -0,0 +1,188 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ControlData : INotifyPropertyChanged
|
||||
{
|
||||
public string Label
|
||||
{
|
||||
get => _label;
|
||||
|
||||
set
|
||||
{
|
||||
if (_label != value)
|
||||
{
|
||||
_label = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("Label"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _label;
|
||||
|
||||
public Uri LargeImage
|
||||
{
|
||||
get => _largeImage;
|
||||
|
||||
set
|
||||
{
|
||||
if (_largeImage != value)
|
||||
{
|
||||
_largeImage = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("LargeImage"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private Uri _largeImage;
|
||||
|
||||
public Uri SmallImage
|
||||
{
|
||||
get => _smallImage;
|
||||
|
||||
set
|
||||
{
|
||||
if (_smallImage != value)
|
||||
{
|
||||
_smallImage = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("SmallImage"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private Uri _smallImage;
|
||||
|
||||
public string ToolTipTitle
|
||||
{
|
||||
get => _toolTipTitle;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipTitle != value)
|
||||
{
|
||||
_toolTipTitle = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipTitle"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _toolTipTitle;
|
||||
|
||||
public string ToolTipDescription
|
||||
{
|
||||
get => _toolTipDescription;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipDescription != value)
|
||||
{
|
||||
_toolTipDescription = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipDescription"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _toolTipDescription;
|
||||
|
||||
public Uri ToolTipImage
|
||||
{
|
||||
get => _toolTipImage;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipImage != value)
|
||||
{
|
||||
_toolTipImage = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipImage"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private Uri _toolTipImage;
|
||||
|
||||
public string ToolTipFooterTitle
|
||||
{
|
||||
get => _toolTipFooterTitle;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipFooterTitle != value)
|
||||
{
|
||||
_toolTipFooterTitle = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterTitle"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _toolTipFooterTitle;
|
||||
|
||||
public string ToolTipFooterDescription
|
||||
{
|
||||
get => _toolTipFooterDescription;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipFooterDescription != value)
|
||||
{
|
||||
_toolTipFooterDescription = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterDescription"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _toolTipFooterDescription;
|
||||
|
||||
public Uri ToolTipFooterImage
|
||||
{
|
||||
get => _toolTipFooterImage;
|
||||
|
||||
set
|
||||
{
|
||||
if (_toolTipFooterImage != value)
|
||||
{
|
||||
_toolTipFooterImage = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterImage"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private Uri _toolTipFooterImage;
|
||||
|
||||
public ICommand Command
|
||||
{
|
||||
get => _command;
|
||||
|
||||
set
|
||||
{
|
||||
if (_command != value)
|
||||
{
|
||||
_command = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("Command"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private ICommand _command;
|
||||
|
||||
public string KeyTip
|
||||
{
|
||||
get => _keyTip;
|
||||
|
||||
set
|
||||
{
|
||||
if (_keyTip != value)
|
||||
{
|
||||
_keyTip = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("KeyTip"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _keyTip;
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged(PropertyChangedEventArgs e)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, e);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class GalleryCategoryData : ControlData
|
||||
{
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<GalleryItemData> GalleryItemDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_controlDataCollection == null)
|
||||
{
|
||||
_controlDataCollection = new ObservableCollection<GalleryItemData>();
|
||||
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
var largeImage = new Uri("/Common;component/RibbonControl/Images/Paste_32x32.png", UriKind.Relative);
|
||||
|
||||
for (var i = 0; i < ViewModelData.GalleryItemCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new GalleryItemData()
|
||||
{
|
||||
Label = "GalleryItem " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
}
|
||||
return _controlDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<GalleryItemData> _controlDataCollection;
|
||||
}
|
||||
|
||||
public class GalleryCategoryData<T> : ControlData
|
||||
{
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<T> GalleryItemDataCollection => _controlDataCollection ?? (_controlDataCollection = new ObservableCollection<T>());
|
||||
|
||||
private ObservableCollection<T> _controlDataCollection;
|
||||
}
|
||||
}
|
||||
100
Common/DTS.Common/RibbonControl/Classes/GalleryData.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class GalleryData : ControlData
|
||||
{
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<GalleryCategoryData> CategoryDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_controlDataCollection != null) return _controlDataCollection;
|
||||
_controlDataCollection = new ObservableCollection<GalleryCategoryData>();
|
||||
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
var largeImage = new Uri("/Common;component/RibbonControl/Images/Paste_32x32.png", UriKind.Relative);
|
||||
|
||||
for (var i = 0; i < ViewModelData.GalleryCategoryCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new GalleryCategoryData()
|
||||
{
|
||||
Label = "GalleryCategory " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
return _controlDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<GalleryCategoryData> _controlDataCollection;
|
||||
|
||||
public GalleryItemData SelectedItem
|
||||
{
|
||||
get => _selectedItem;
|
||||
set
|
||||
{
|
||||
if (_selectedItem != value)
|
||||
{
|
||||
_selectedItem = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("SelectedItem"));
|
||||
}
|
||||
}
|
||||
}
|
||||
GalleryItemData _selectedItem;
|
||||
|
||||
public bool CanUserFilter
|
||||
{
|
||||
get => _canUserFilter;
|
||||
|
||||
set
|
||||
{
|
||||
if (_canUserFilter == value) return;
|
||||
_canUserFilter = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("CanUserFilter"));
|
||||
}
|
||||
}
|
||||
|
||||
private bool _canUserFilter;
|
||||
}
|
||||
|
||||
public class GalleryData<T> : ControlData
|
||||
{
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<GalleryCategoryData<T>> CategoryDataCollection => _controlDataCollection ?? (_controlDataCollection = new ObservableCollection<GalleryCategoryData<T>>());
|
||||
|
||||
private ObservableCollection<GalleryCategoryData<T>> _controlDataCollection;
|
||||
|
||||
public T SelectedItem
|
||||
{
|
||||
get => _selectedItem;
|
||||
set
|
||||
{
|
||||
if (Equals(value, _selectedItem)) return;
|
||||
_selectedItem = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("SelectedItem"));
|
||||
}
|
||||
}
|
||||
T _selectedItem;
|
||||
|
||||
public bool CanUserFilter
|
||||
{
|
||||
get => _canUserFilter;
|
||||
|
||||
set
|
||||
{
|
||||
if (_canUserFilter == value) return;
|
||||
_canUserFilter = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("CanUserFilter"));
|
||||
}
|
||||
}
|
||||
|
||||
private bool _canUserFilter;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class GalleryItemData : ControlData
|
||||
{
|
||||
}
|
||||
}
|
||||
138
Common/DTS.Common/RibbonControl/Classes/GroupData.cs
Normal file
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class GroupData : ControlData
|
||||
{
|
||||
public GroupData(string header)
|
||||
{
|
||||
Label = header;
|
||||
}
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<ControlData> ControlDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_controlDataCollection == null)
|
||||
{
|
||||
_controlDataCollection = new ObservableCollection<ControlData>();
|
||||
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
var largeImage = new Uri("/Common;component/RibbonControl/Images/Paste_32x32.png", UriKind.Relative);
|
||||
|
||||
for (var i = 0; i < ViewModelData.ButtonCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new ButtonData()
|
||||
{
|
||||
Label = "Button " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.ToggleButtonCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new ToggleButtonData()
|
||||
{
|
||||
Label = "ToggleButton " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.RadioButtonCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new RadioButtonData()
|
||||
{
|
||||
Label = "RadioButton " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.CheckBoxCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new CheckBoxData()
|
||||
{
|
||||
Label = "CheckBox " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.TextBoxCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new TextBoxData()
|
||||
{
|
||||
Label = "TextBox " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.MenuButtonCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new MenuButtonData()
|
||||
{
|
||||
Label = "MenuButton " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.SplitButtonCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new SplitButtonData()
|
||||
{
|
||||
Label = "SplitButton " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand,
|
||||
IsCheckable = true
|
||||
});
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.ComboBoxCount; i++)
|
||||
{
|
||||
_controlDataCollection.Add(new ComboBoxData()
|
||||
{
|
||||
Label = "ComboBox " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
});
|
||||
}
|
||||
}
|
||||
return _controlDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<ControlData> _controlDataCollection;
|
||||
|
||||
}
|
||||
}
|
||||
118
Common/DTS.Common/RibbonControl/Classes/MenuButtonData.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class MenuButtonData : ControlData
|
||||
{
|
||||
public MenuButtonData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public MenuButtonData(bool isApplicationMenu)
|
||||
{
|
||||
_isApplicationMenu = isApplicationMenu;
|
||||
}
|
||||
|
||||
public bool IsVerticallyResizable
|
||||
{
|
||||
get => _isVerticallyResizable;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isVerticallyResizable == value) return;
|
||||
_isVerticallyResizable = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsVerticallyResizable"));
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsHorizontallyResizable
|
||||
{
|
||||
get => _isHorizontallyResizable;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isHorizontallyResizable == value) return;
|
||||
_isHorizontallyResizable = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsHorizontallyResizable"));
|
||||
}
|
||||
}
|
||||
|
||||
private bool _isVerticallyResizable, _isHorizontallyResizable;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||
public ObservableCollection<ControlData> ControlDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_controlDataCollection == null)
|
||||
{
|
||||
_controlDataCollection = new ObservableCollection<ControlData>();
|
||||
|
||||
if (_nestingDepth <= ViewModelData.MenuItemNestingCount)
|
||||
{
|
||||
_nestingDepth++;
|
||||
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
var largeImage = new Uri("/Common;component/RibbonControl/Images/Paste_32x32.png", UriKind.Relative);
|
||||
|
||||
for (var i = 0; i < ViewModelData.GalleryCount; i++)
|
||||
{
|
||||
var galleryData = new GalleryData()
|
||||
{
|
||||
Label = "Gallery " + i,
|
||||
SmallImage = smallImage,
|
||||
LargeImage = largeImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage,
|
||||
Command = ViewModelData.DefaultCommand
|
||||
};
|
||||
galleryData.SelectedItem = galleryData.CategoryDataCollection[0].GalleryItemDataCollection[ViewModelData.GalleryItemCount - 1];
|
||||
|
||||
_controlDataCollection.Add(galleryData);
|
||||
}
|
||||
for (var i = 0; i < ViewModelData.MenuItemCount; i++)
|
||||
{
|
||||
var menuItemData = _isApplicationMenu ? new ApplicationMenuItemData(true) : new MenuItemData(false);
|
||||
menuItemData.Label = "MenuItem " + i;
|
||||
menuItemData.SmallImage = smallImage;
|
||||
menuItemData.LargeImage = largeImage;
|
||||
menuItemData.ToolTipTitle = "ToolTip Title";
|
||||
menuItemData.ToolTipDescription = "ToolTip Description";
|
||||
menuItemData.ToolTipImage = smallImage;
|
||||
menuItemData.Command = ViewModelData.DefaultCommand;
|
||||
menuItemData._nestingDepth = _nestingDepth;
|
||||
|
||||
_controlDataCollection.Add(menuItemData);
|
||||
}
|
||||
|
||||
_controlDataCollection.Add(new SeparatorData());
|
||||
|
||||
for (var i = 0; i < ViewModelData.SplitMenuItemCount; i++)
|
||||
{
|
||||
var splitMenuItemData = _isApplicationMenu ? new ApplicationSplitMenuItemData(true) : new SplitMenuItemData(false);
|
||||
splitMenuItemData.Label = "SplitMenuItem " + i;
|
||||
splitMenuItemData.SmallImage = smallImage;
|
||||
splitMenuItemData.LargeImage = largeImage;
|
||||
splitMenuItemData.ToolTipTitle = "ToolTip Title";
|
||||
splitMenuItemData.ToolTipDescription = "ToolTip Description";
|
||||
splitMenuItemData.ToolTipImage = smallImage;
|
||||
splitMenuItemData.Command = ViewModelData.DefaultCommand;
|
||||
splitMenuItemData._nestingDepth = _nestingDepth;
|
||||
splitMenuItemData.IsCheckable = true;
|
||||
|
||||
_controlDataCollection.Add(splitMenuItemData);
|
||||
}
|
||||
}
|
||||
}
|
||||
return _controlDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<ControlData> _controlDataCollection;
|
||||
private int _nestingDepth;
|
||||
private bool _isApplicationMenu;
|
||||
}
|
||||
}
|
||||
15
Common/DTS.Common/RibbonControl/Classes/MenuItemData.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class MenuItemData : SplitButtonData
|
||||
{
|
||||
public MenuItemData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public MenuItemData(bool isApplicationMenu)
|
||||
: base(isApplicationMenu)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
20
Common/DTS.Common/RibbonControl/Classes/RadioButtonData.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class RadioButtonData : ControlData
|
||||
{
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isChecked == value) return;
|
||||
_isChecked = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsChecked"));
|
||||
}
|
||||
}
|
||||
private bool _isChecked;
|
||||
}
|
||||
}
|
||||
80
Common/DTS.Common/RibbonControl/Classes/RibbonData.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class RibbonData : INotifyPropertyChanged
|
||||
{
|
||||
public ObservableCollection<TabData> TabDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_tabDataCollection != null) return _tabDataCollection;
|
||||
_tabDataCollection = new ObservableCollection<TabData>();
|
||||
for (int i = ViewModelData.TabCount, j = ViewModelData.ContextualTabGroupCount; i > 0; i--, j--)
|
||||
{
|
||||
if (j > 0)
|
||||
{
|
||||
var contextualTabGroupHeader = ContextualTabGroupDataCollection[j - 1].Header;
|
||||
_tabDataCollection.Insert(0, new TabData("Tab " + i) { ContextualTabGroupHeader = contextualTabGroupHeader });
|
||||
}
|
||||
else
|
||||
{
|
||||
_tabDataCollection.Insert(0, new TabData("Tab " + i));
|
||||
}
|
||||
}
|
||||
return _tabDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<TabData> _tabDataCollection;
|
||||
|
||||
public ObservableCollection<ContextualTabGroupData> ContextualTabGroupDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_contextualTabGroupDataCollection != null) return _contextualTabGroupDataCollection;
|
||||
_contextualTabGroupDataCollection = new ObservableCollection<ContextualTabGroupData>();
|
||||
for (var i = 0; i < ViewModelData.ContextualTabGroupCount; i++)
|
||||
{
|
||||
_contextualTabGroupDataCollection.Add(new ContextualTabGroupData("Grp " + i) { IsVisible = true });
|
||||
}
|
||||
return _contextualTabGroupDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<ContextualTabGroupData> _contextualTabGroupDataCollection;
|
||||
|
||||
public MenuButtonData ApplicationMenuData
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_applicationMenuData != null) return _applicationMenuData;
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
_applicationMenuData = new MenuButtonData(true)
|
||||
{
|
||||
Label = "AppMenu ",
|
||||
SmallImage = smallImage,
|
||||
ToolTipTitle = "ToolTip Title",
|
||||
ToolTipDescription = "ToolTip Description",
|
||||
ToolTipImage = smallImage
|
||||
};
|
||||
return _applicationMenuData;
|
||||
}
|
||||
}
|
||||
private MenuButtonData _applicationMenuData;
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged(PropertyChangedEventArgs e)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, e);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
7
Common/DTS.Common/RibbonControl/Classes/SeparatorData.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class SeparatorData : ControlData
|
||||
{
|
||||
}
|
||||
}
|
||||
48
Common/DTS.Common/RibbonControl/Classes/SplitButtonData.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class SplitButtonData : MenuButtonData
|
||||
{
|
||||
public SplitButtonData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public SplitButtonData(bool isApplicationMenu)
|
||||
: base(isApplicationMenu)
|
||||
{
|
||||
}
|
||||
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isChecked != value)
|
||||
{
|
||||
_isChecked = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsChecked"));
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool _isChecked;
|
||||
|
||||
public bool IsCheckable
|
||||
{
|
||||
get => _isCheckable;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isCheckable == value) return;
|
||||
_isCheckable = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsCheckable"));
|
||||
}
|
||||
}
|
||||
private bool _isCheckable;
|
||||
|
||||
public ButtonData DropDownButtonData => _dropDownButtonData ?? (_dropDownButtonData = new ButtonData());
|
||||
private ButtonData _dropDownButtonData;
|
||||
}
|
||||
}
|
||||
16
Common/DTS.Common/RibbonControl/Classes/SplitMenuItemData.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class SplitMenuItemData : MenuItemData
|
||||
{
|
||||
public SplitMenuItemData()
|
||||
: this(false)
|
||||
{
|
||||
}
|
||||
|
||||
public SplitMenuItemData(bool isApplicationMenu)
|
||||
: base(isApplicationMenu)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
97
Common/DTS.Common/RibbonControl/Classes/TabData.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class TabData : INotifyPropertyChanged
|
||||
{
|
||||
public TabData()
|
||||
: this(null)
|
||||
{
|
||||
}
|
||||
|
||||
public TabData(string header)
|
||||
{
|
||||
Header = header;
|
||||
}
|
||||
|
||||
public string Header
|
||||
{
|
||||
get => _header;
|
||||
|
||||
set
|
||||
{
|
||||
if (_header == value) return;
|
||||
_header = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("Header"));
|
||||
}
|
||||
}
|
||||
private string _header;
|
||||
|
||||
public string ContextualTabGroupHeader
|
||||
{
|
||||
get => _contextualTabGroupHeader;
|
||||
|
||||
set
|
||||
{
|
||||
if (_contextualTabGroupHeader == value) return;
|
||||
_contextualTabGroupHeader = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("ContextualTabGroupHeader"));
|
||||
}
|
||||
}
|
||||
private string _contextualTabGroupHeader;
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get => _isSelected;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isSelected == value) return;
|
||||
_isSelected = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsSelected"));
|
||||
}
|
||||
}
|
||||
private bool _isSelected;
|
||||
|
||||
public ObservableCollection<GroupData> GroupDataCollection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_groupDataCollection == null)
|
||||
{
|
||||
var smallImage = new Uri("/Common;component/RibbonControl/Images/Paste_16x16.png", UriKind.Relative);
|
||||
var largeImage = new Uri("/Common;component/RibbonControl/Images/Paste_32x32.png", UriKind.Relative);
|
||||
|
||||
_groupDataCollection = new ObservableCollection<GroupData>();
|
||||
for (var i = 0; i < ViewModelData.GroupCount; i++)
|
||||
{
|
||||
_groupDataCollection.Add(new GroupData("Group " + i)
|
||||
{
|
||||
LargeImage = largeImage,
|
||||
SmallImage = smallImage
|
||||
});
|
||||
}
|
||||
}
|
||||
return _groupDataCollection;
|
||||
}
|
||||
}
|
||||
private ObservableCollection<GroupData> _groupDataCollection;
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
private void OnPropertyChanged(PropertyChangedEventArgs e)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, e);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
20
Common/DTS.Common/RibbonControl/Classes/TextBoxData.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class TextBoxData : ControlData
|
||||
{
|
||||
public string Text
|
||||
{
|
||||
get => _text;
|
||||
|
||||
set
|
||||
{
|
||||
if (_text == value) return;
|
||||
_text = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("Text"));
|
||||
}
|
||||
}
|
||||
private string _text;
|
||||
}
|
||||
}
|
||||
20
Common/DTS.Common/RibbonControl/Classes/ToggleButtonData.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class ToggleButtonData : ControlData
|
||||
{
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isChecked == value) return;
|
||||
_isChecked = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsChecked"));
|
||||
}
|
||||
}
|
||||
private bool _isChecked;
|
||||
}
|
||||
}
|
||||
55
Common/DTS.Common/RibbonControl/Classes/ViewModel.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Windows.Input;
|
||||
using Prism.Commands;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public static class ViewModelData
|
||||
{
|
||||
internal const int TabCount = 4;
|
||||
internal const int ContextualTabGroupCount = 2;
|
||||
internal const int GroupCount = 3;
|
||||
internal const int ControlCount = 5;
|
||||
internal const int ButtonCount = 1;
|
||||
internal const int ToggleButtonCount = 1;
|
||||
internal const int RadioButtonCount = 1;
|
||||
internal const int CheckBoxCount = 1;
|
||||
internal const int TextBoxCount = 1;
|
||||
internal const int MenuButtonCount = 1;
|
||||
internal const int MenuItemCount = 2;
|
||||
internal const int SplitButtonCount = 1;
|
||||
internal const int SplitMenuItemCount = 2;
|
||||
internal const int GalleryCount = 1;
|
||||
internal const int GalleryCategoryCount = 3;
|
||||
internal const int GalleryItemCount = 10;
|
||||
internal const int MenuItemNestingCount = 2;
|
||||
internal const int ComboBoxCount = 1;
|
||||
|
||||
public static RibbonData RibbonData
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_data == null)
|
||||
{
|
||||
_data = new RibbonData();
|
||||
}
|
||||
return _data;
|
||||
}
|
||||
}
|
||||
|
||||
public static ICommand DefaultCommand => _defaultCommand ?? (_defaultCommand = new DelegateCommand(DefaultExecuted, DefaultCanExecute));
|
||||
|
||||
private static void DefaultExecuted()
|
||||
{
|
||||
}
|
||||
|
||||
private static bool DefaultCanExecute()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
[ThreadStatic]
|
||||
private static RibbonData _data;
|
||||
private static ICommand _defaultCommand;
|
||||
}
|
||||
}
|
||||
BIN
Common/DTS.Common/RibbonControl/Images/AlignCenter_16x16.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
Common/DTS.Common/RibbonControl/Images/AlignLeft_16x16.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
Common/DTS.Common/RibbonControl/Images/AlignRight_16x16.png
Normal file
|
After Width: | Height: | Size: 454 B |
BIN
Common/DTS.Common/RibbonControl/Images/Bold_16x16.png
Normal file
|
After Width: | Height: | Size: 283 B |
|
After Width: | Height: | Size: 630 B |
BIN
Common/DTS.Common/RibbonControl/Images/Borders_16x16.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
Common/DTS.Common/RibbonControl/Images/BottomBorder_16x16.png
Normal file
|
After Width: | Height: | Size: 474 B |
BIN
Common/DTS.Common/RibbonControl/Images/Bullets_16x16.png
Normal file
|
After Width: | Height: | Size: 261 B |
BIN
Common/DTS.Common/RibbonControl/Images/ChooseColor_16x16.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/ClearFormatting_16x16.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Close_16x16.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/ColorPalette.png
Normal file
|
After Width: | Height: | Size: 626 B |
BIN
Common/DTS.Common/RibbonControl/Images/Color_16x16.png
Normal file
|
After Width: | Height: | Size: 851 B |
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Copy_16x16.png
Normal file
|
After Width: | Height: | Size: 643 B |
BIN
Common/DTS.Common/RibbonControl/Images/Cut_16x16.png
Normal file
|
After Width: | Height: | Size: 628 B |
BIN
Common/DTS.Common/RibbonControl/Images/DecreaseIndent_16x16.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
Common/DTS.Common/RibbonControl/Images/Default_16x16.png
Normal file
|
After Width: | Height: | Size: 865 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Document_16x16.png
Normal file
|
After Width: | Height: | Size: 390 B |
BIN
Common/DTS.Common/RibbonControl/Images/DownArrow_16x16.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
Common/DTS.Common/RibbonControl/Images/DownArrow_32x32.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/DrawTable_16x16.png
Normal file
|
After Width: | Height: | Size: 558 B |
BIN
Common/DTS.Common/RibbonControl/Images/EditRedo_16x16.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
Common/DTS.Common/RibbonControl/Images/EditUndo_16x16.png
Normal file
|
After Width: | Height: | Size: 685 B |
BIN
Common/DTS.Common/RibbonControl/Images/Erase_16x16.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Find_16x16.png
Normal file
|
After Width: | Height: | Size: 741 B |
BIN
Common/DTS.Common/RibbonControl/Images/Find_32x32.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/FolderClosed_48x48.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/FontColor_16x16.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
Common/DTS.Common/RibbonControl/Images/FontScript_16x16.png
Normal file
|
After Width: | Height: | Size: 612 B |
BIN
Common/DTS.Common/RibbonControl/Images/Font_16x16.png
Normal file
|
After Width: | Height: | Size: 531 B |
BIN
Common/DTS.Common/RibbonControl/Images/Font_32x32.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Forecolor_16x16.png
Normal file
|
After Width: | Height: | Size: 647 B |
BIN
Common/DTS.Common/RibbonControl/Images/FormatPainter_16x16.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/GoTo_16x16.png
Normal file
|
After Width: | Height: | Size: 541 B |
BIN
Common/DTS.Common/RibbonControl/Images/Help_16x16.png
Normal file
|
After Width: | Height: | Size: 876 B |
BIN
Common/DTS.Common/RibbonControl/Images/Highlight_16x16.png
Normal file
|
After Width: | Height: | Size: 573 B |
BIN
Common/DTS.Common/RibbonControl/Images/IncreaseIndent_16x16.png
Normal file
|
After Width: | Height: | Size: 339 B |
BIN
Common/DTS.Common/RibbonControl/Images/InsideBorders_16x16.png
Normal file
|
After Width: | Height: | Size: 538 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 420 B |
BIN
Common/DTS.Common/RibbonControl/Images/Italic_16x16.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
Common/DTS.Common/RibbonControl/Images/Justify_16x16.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/LeftArrow_32x32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/LeftBorder_16x16.png
Normal file
|
After Width: | Height: | Size: 484 B |
BIN
Common/DTS.Common/RibbonControl/Images/LineColor_16x16.png
Normal file
|
After Width: | Height: | Size: 538 B |
BIN
Common/DTS.Common/RibbonControl/Images/LineSpacing_16x16.png
Normal file
|
After Width: | Height: | Size: 537 B |
BIN
Common/DTS.Common/RibbonControl/Images/Minus_32x32.png
Normal file
|
After Width: | Height: | Size: 831 B |
BIN
Common/DTS.Common/RibbonControl/Images/MultilevelList_16x16.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/NewDocument_16x16.png
Normal file
|
After Width: | Height: | Size: 574 B |
BIN
Common/DTS.Common/RibbonControl/Images/NewPermission_32x32.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/NoBorder_16x16.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
Common/DTS.Common/RibbonControl/Images/Numbering_16x16.png
Normal file
|
After Width: | Height: | Size: 387 B |
BIN
Common/DTS.Common/RibbonControl/Images/Open_16x16.png
Normal file
|
After Width: | Height: | Size: 743 B |
BIN
Common/DTS.Common/RibbonControl/Images/Options_16x16.png
Normal file
|
After Width: | Height: | Size: 572 B |
BIN
Common/DTS.Common/RibbonControl/Images/OuterBorders_16x16.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 586 B |
BIN
Common/DTS.Common/RibbonControl/Images/Paragraph_16x16.png
Normal file
|
After Width: | Height: | Size: 722 B |
BIN
Common/DTS.Common/RibbonControl/Images/Paragraph_32x32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Paste_16x16.png
Normal file
|
After Width: | Height: | Size: 730 B |
BIN
Common/DTS.Common/RibbonControl/Images/Paste_32x32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Plus_32x32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/PrintPreview_16x16.png
Normal file
|
After Width: | Height: | Size: 654 B |
BIN
Common/DTS.Common/RibbonControl/Images/Print_16x16.png
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
Common/DTS.Common/RibbonControl/Images/Printer_48x48.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/PublishPlan_16x16.png
Normal file
|
After Width: | Height: | Size: 725 B |
26
Common/DTS.Common/RibbonControl/Images/README.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>Visual Studio Image Library</title>
|
||||
<style>
|
||||
BODY {font-family: tahoma, arial, sans-serif;color: black;font-size: .8em;}
|
||||
.style1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p class="style1">Visual Studio Image Library: Common Elements (Actions)</p>
|
||||
|
||||
<p><b>Use Restrictions<br>
|
||||
</b>These common elements are to be used in the development and illustration of
|
||||
new custom imagery. As part of a visual language, these images (or any
|
||||
part of the images) must be used in a manner consistent with the name of the
|
||||
file, which is self-descriptive of the action, or verb, that the imagery
|
||||
represents.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
Common/DTS.Common/RibbonControl/Images/RefreshArrow_32x32.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Replace_16x16.png
Normal file
|
After Width: | Height: | Size: 734 B |
BIN
Common/DTS.Common/RibbonControl/Images/RightArrow_32x32.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/RightBorder_16x16.png
Normal file
|
After Width: | Height: | Size: 502 B |
BIN
Common/DTS.Common/RibbonControl/Images/Save_16x16.png
Normal file
|
After Width: | Height: | Size: 595 B |
BIN
Common/DTS.Common/RibbonControl/Images/Select_16x16.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/SelectionPane_16x16.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/SendLinkByEmail_32x32.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Common/DTS.Common/RibbonControl/Images/Shading_16x16.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |