Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

aruna_koride

@aruna_koride
About
Posts
65
Topics
41
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CheckedComboBox Control in WPF
    A aruna_koride

    I have implemented a Combobox which has datatemplate of ComboboxItems which includes checkboxes.Presently I am handling checkbox click event to make a list of checked items under combobox dropdownclosed event .ComboBox Text is updated with the list of selected checkbox content seperated by commas. The problem is with Combobox selection changed event.Its not working in desired manner.When user selects an item, and hits "Enter" key,the ComboboxSelectionTextBox is not updating the text. I need to either cancel the selection changed event or need to update the text according to User Selection. Please advise better solution,Prompt reply is appreciated as it is quite urgent:)

    WPF csharp wpf help announcement

  • Custom ComboBox
    A aruna_koride

    Hi Please have a look at the code.By implementing the below control teplate for a combobox.the cursor is coming out of combobox.Please aadvise. <ControlTemplate x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition Width="20"/> </Grid.ColumnDefinitions> <Rectangle Grid.ColumnSpan="2" HorizontalAlignment="Stretch" x:Name="Rectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="5" RadiusY="5" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}"/> <Rectangle Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="5" RadiusY="5" Fill="{DynamicResource WindowBackgroundBrush}" Stroke="{DynamicResource NormalBorderBrush}"/> <Path Grid.Column="1" HorizontalAlignment="Center" x:Name="Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z"/> </Grid> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter Property="Fill" Value="{DynamicResource MouseOverBrush}" TargetName="Rectangle"/> </Trigger> <Trigger Property="IsChecked" Value="true"> <Setter Property="Fill" Value="{DynamicResource PressedBrush}" TargetName="Rectangle"/> </Trigger> <Trigger Property="IsEnabled" Value="False"> <Setter Property="Fill" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Rectangle"/> <Setter Property="Stroke" Value="{DynamicResource DisabledBorderBrush}" TargetName="Rectangle"/> <Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/> <Setter Property="Fill" Value="{DynamicResource DisabledForegroundBrush}" TargetName="Arrow"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> <!-- This is the area which contains the selected item in the ComboBox --> <ControlTemplate x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}"> <!-- This must be named as PART_ContentHost --> <Border x:Name="PART_ContentHost" Focusable="False" Background="{TemplateBinding Background}"/> </ControlTemplate> <!-- Simple ComboBox This uses the ComboBoxToggleButton to expand and collapse a Popup control SimpleScrollViewer to allow items to be scrolled and SimpleComboBoxItem to def

    WCF and WF help question

  • Custom ComboBox
    A aruna_koride

    1.I have implemented the control template of combobox from examples of MSDN.But the problem is cursor from the editable textbox is moving out of the box . 2.I have implemented a borderless window with WindowStyle="None", but the problem is when maximized ,it is covering task bar also? Please help me to fix the above probs.. Thanks

    WCF and WF help question

  • Dockpane Collapse/Expand
    A aruna_koride

    Hi I have two panes placed in 2 rows of a grid, the top pane should have a button when clicked will collapse that pane and toggles to expand state when clicked again.How is this possible??You advise to use which control?

    WCF and WF css question

  • WPF ListViewItem DoubleCLick event
    A aruna_koride

    I have 3 columns in a ListView,when we doubleclick on the Listview selected row, I always wants to get the Value of first column,If clicked in anyother place outside the ListView, it should not return anyvalue. How is this possible?

    C# csharp wpf question

  • NamedPipes in .Net
    A aruna_koride

    Hi I have a server process and client process connected with Named pipes(server is sending message to client). If the server is already running, I open the client process,only for first time communication is taking place.If I close client process and reopen again, the serverside is throwing exception at WaitForClients method:"Pipe is broken".I need to close and reopen server in order to take place communication again. I am using NamedpipeServer Stream and NamedpipeClient Stream objects. What could be the reason???please advise.. Thanks in adcance

    C# csharp sysadmin question

  • Named Pipes .Net 3.5
    A aruna_koride

    Hi I have a server process and client process connected with Named pipes(server is sending message to client). If the server is already running, I open the client process,only for first time communication is taking place.If I close client process and reopen again, the serverside is throwing exception at WaitForClients method:"Pipe is broken".I need to close and reopen server in order to take place communication again. I am using NamedpipeServer Stream and NamedpipeClient Stream classes. What could be the reason???please advise.. Thabks in adcance

    LINQ csharp sysadmin question

  • Combobox Datatemplate in Code-Behind
    A aruna_koride

    My datatemplate for combobox is as below: <DataTemplate x:Key="Template_ComboBoxItem"> <CheckBox Name="CbName" > <TextBlock Name="tbName" Margin="5,0,5,0" Text="{Binding Name}"/> </CheckBox> </DataTemplate> I want to get the checkBox status(checked or not) from ComboBoxItem for ex: 1 item.. cbi = this.cmbArea.ItemContainerGenerator.ContainerFromItem(entity) as System.Windows.Controls.ComboBoxItem; ContentPresenter contentPresenter = this.FindVisualChild<ContentPresenter>(cbi); contentPresenter.ApplyTemplate(); DataTemplate cellTemplate = this.cmbArea.ItemTemplate; DependencyObject child = VisualTreeHelper.GetChild(contentPresenter, 0); cbName = cellTemplate.FindName("CbName", (FrameworkElement)child) as System.Windows.Controls.CheckBox; The last line throws exception: This operation is valid only on elements that have this template applied. Any mistake???

    WCF and WF wpf wcf question

  • CheckBox in Combobox
    A aruna_koride

    Can you please advise on checkbox in a combobox and binding, where itemsource is a collection.

    WPF wpf wcf

  • ListView update value
    A aruna_koride

    I have a timer which updates Listview periodically.I wanted to blink the rows which are updated.Please advise me how to do this: 1.tracking of status of Listview item values. 2.blinking of background color of listviewitem

    WCF and WF tutorial announcement

  • List View Row blink
    A aruna_koride

    Also please let me know if the value is updated , how to get the old value for the listview item??Depending upon that value, I need to provide blinking..

    WCF and WF css wpf design tutorial

  • List View Row blink
    A aruna_koride

    Thanks a lot.I will try:)

    WCF and WF css wpf design tutorial

  • List View Row blink
    A aruna_koride

    Please advise How to make the ListView row blink when the Item value changed or updated with a timer,even need a beep/alarm. This is the xaml code for List View. <ListView DockPanel.Dock="Bottom" Grid.Row="1" Margin="0,0,-1,1" IsSynchronizedWithCurrentItem="True" Name="listView" ItemContainerStyle="{StaticResource ItemContStyle1}" GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler" SelectionMode="Single" FontSize="13" FontFamily="Segoe UI" ScrollViewer.HorizontalScrollBarVisibility="Hidden"> <ListView.View > <GridView x:Name="DashBoardGridView" AllowsColumnReorder="False" > <GridViewColumn Header="Column1" Width="222" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column1}"/> <GridViewColumn Header="Column2" Width="281" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column2}"/> <GridViewColumn Header="Column3" Width="200" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column3}" /> </GridView> </ListView.View> </ListView> Thanks

    WCF and WF css wpf design tutorial

  • Scheduler
    A aruna_koride

    Hi karl Thanks a lot for your advise.I will try it out :)

    WPF tutorial

  • Scheduler
    A aruna_koride

    Please see the link for an image of what iam trying to do http://www.codeproject.com/KB/selection/Calendardayview.aspx[^ Thanks in advance

    WPF tutorial

  • Scheduler
    A aruna_koride

    Hi Ron Thanks for the link.I will try to use it.

    WPF tutorial

  • Scheduler
    A aruna_koride

    Hi Karl Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT. Hope u understood. Please advise

    WPF tutorial

  • Scheduler
    A aruna_koride

    Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.

    WPF tutorial

  • Marshalling
    A aruna_koride

    Hi I have to Marshal a class which is holding a collection , How to achieve this??Is there any way to Marshal a collection in a class,I know that string, bool having MarshalAs methods, but collection dont have ?? prompt reply is appreciated as it is quite urgent.. Thanks

    C# tutorial question

  • PropertyGrid Binding in WPF
    A aruna_koride

    Hi I want to populate a propertygrid passing treeview node argument in WPF.Please advise..I am new to WPF. Thanks

    C# wpf csharp wcf
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups