Changeset 2594


Ignore:
Timestamp:
Feb 5, 2011, 2:28:41 PM (11 years ago)
Author:
matkovic
Message:

-PluginContainerView: 'IC' Button Visibility is now depending on IControls Masters

Location:
trunk/CrypPlugins/WorkspaceManager/View/Container
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml

    r2586 r2594  
    167167                                                        <DockPanel x:Name="WindowBar">
    168168                                                            <StackPanel DockPanel.Dock="Right" Name="ControlPanel" Visibility="Visible" Opacity="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0">
    169                                                                 <Button Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=OptionPanel}" x:Name="ICM" Height="19" Width="20"  VerticalAlignment="Bottom" HorizontalAlignment="Left" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Click="Button_Click">
     169                                                                <Button Visibility="{Binding ElementName=IC, Path=Visibility}" x:Name="ICM" Height="19" Width="20"  VerticalAlignment="Bottom" HorizontalAlignment="Left" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Click="Button_Click">
    170170                                                                    <Button.LayoutTransform>
    171171                                                                        <ScaleTransform ScaleX="0.8" ScaleY="0.8"></ScaleTransform>
     
    310310        </DockPanel>
    311311        <TextBox x:Name="CTextBox" DockPanel.Dock="Bottom" FontWeight="Medium" FontSize="12" KeyUp="TextBox_KeyUp" HorizontalAlignment="Left" TextChanged="CTextBox_TextChanged" PreviewMouseLeftButtonDown="TextBox_MouseLeftButtonDown" Style="{StaticResource ResourceKey=BasicTextBoxStyle}" Width="120" Height="18" Margin="0,-10,0,0" FontFamily="Palatino"></TextBox>
    312        
    313        
     312
     313
    314314        <Popup x:Name="BubblePopup" PopupAnimation="Fade" StaysOpen="True" AllowsTransparency="True" Width="150" Height="100">
    315315            <Border BorderBrush="#aaffe154" Background="#55ffe154" CornerRadius="5,5,5,5" BorderThickness="2">
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml.cs

    r2586 r2594  
    604604        #endregion
    605605
    606         #region Controls
     606       #region Controls
    607607
    608608        void PluginContainerView_Loaded(object sender, RoutedEventArgs e)
     
    816816        }
    817817
    818         #endregion
     818        #endregion 
    819819
    820820        #region IUpdateableView Members
Note: See TracChangeset for help on using the changeset viewer.