Subversion Repositories SoapBoxCore

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 scott 1
//Copyright (c) 2007-2009, Adolfo Marinucci
2
//All rights reserved.
3
 
4
//Redistribution and use in source and binary forms, with or without modification, 
5
//are permitted provided that the following conditions are met:
6
//
7
//* Redistributions of source code must retain the above copyright notice, 
8
//  this list of conditions and the following disclaimer.
9
//* Redistributions in binary form must reproduce the above copyright notice, 
10
//  this list of conditions and the following disclaimer in the documentation 
11
//  and/or other materials provided with the distribution.
12
//* Neither the name of Adolfo Marinucci nor the names of its contributors may 
13
//  be used to endorse or promote products derived from this software without 
14
//  specific prior written permission.
15
//
16
//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
17
//AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
18
//WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
19
//IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
20
//INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
21
//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
22
//HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
23
//OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
24
//EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
25
 
26
using System;
27
using System.Collections.Generic;
28
using System.Text;
29
using System.Windows;
30
using System.Windows.Controls;
31
using System.Windows.Controls.Primitives;
32
using System.Windows.Data;
33
using System.Windows.Documents;
34
using System.Windows.Input;
35
using System.Windows.Media;
36
using System.Windows.Media.Imaging;
37
using System.Windows.Shapes;
38
 
39
namespace AvalonDock
40
{
41
    public class DockablePaneAnchorTabGroup : System.Windows.Controls.StackPanel
42
    {
43
        static DockablePaneAnchorTabGroup()
44
        {
45
            //This OverrideMetadata call tells the system that this element wants to provide a style that is different than its base class.
46
            //This style is defined in themes\generic.xaml
47
            DefaultStyleKeyProperty.OverrideMetadata(typeof(DockablePaneAnchorTabGroup), new FrameworkPropertyMetadata(typeof(DockablePaneAnchorTabGroup)));
48
        }
49
 
50
        DockablePane _pane = null;
51
 
52
        internal DockablePane ReferencedPane
53
        {
54
            get
55
            { return _pane; }
56
            set { _pane = value; }
57
        }
58
 
59
        protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
60
        {
61
            base.OnVisualChildrenChanged(visualAdded, visualRemoved);
62
        }
63
    }
64
}