Click here to Skip to main content
15,881,248 members
Home / Discussions / WPF
   

WPF

 
QuestionAny ideas on MVVM'ing this? Pin
SledgeHammer018-Mar-12 7:25
SledgeHammer018-Mar-12 7:25 
Questioncreating a popup DataGrid inside the ComboBox Pin
Giorgi Nistor6-Mar-12 22:04
Giorgi Nistor6-Mar-12 22:04 
AnswerRe: creating a History listbox control Pin
Abhinav S6-Mar-12 23:01
Abhinav S6-Mar-12 23:01 
GeneralRe: creating a History listbox control Pin
Giorgi Nistor6-Mar-12 23:27
Giorgi Nistor6-Mar-12 23:27 
AnswerRe: creating a History listbox control Pin
Abhinav S6-Mar-12 23:31
Abhinav S6-Mar-12 23:31 
AnswerRe: creating a History listbox control Pin
SledgeHammer017-Mar-12 6:39
SledgeHammer017-Mar-12 6:39 
GeneralRe: creating a History listbox control Pin
Giorgi Nistor8-Mar-12 3:43
Giorgi Nistor8-Mar-12 3:43 
GeneralRe: creating a History listbox control Pin
Giorgi Nistor12-Mar-12 5:08
Giorgi Nistor12-Mar-12 5:08 
I've changed my mind and now I need a DataGrid displayed as a popup by the ComboBox.

I would like to do this only with xaml. I try to put the datagrid inside the ContentPresenter but it is not possible.

Any ideea how to do this?

Is it a good Ideea to have something like this:
inside
HTML
<Setter Property="Template">
                       <Setter.Value>
                           <ControlTemplate TargetType="ComboBox">

to put a StackPanel with a text box and a DataGrid by default hidden.
Only when I put text inside textbox to activate it?

like:
HTML
<Style TargetType="ComboBox" x:Key="newTemplate">
    <!--Set the Background, Foreground, FontSize, Width,
  Height, Margin, and Template properties for
  the Button.-->
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="ComboBox">
                <StackPanel>
                    <TextBox>
                        Here is the text box, to be added a button down
                    </TextBox>
                <DataGrid
                  <DataGrid.Columns>
                </DataGrid>
                </StackPanel>


modified 12-Mar-12 11:31am.

QuestionCommunication Exception while calling a Windows Workflow service from Silverlight Pin
cydd6-Mar-12 21:43
cydd6-Mar-12 21:43 
QuestionAllow user customizing styles of WPF controls and retaining them Pin
Mahesha9996-Mar-12 1:28
Mahesha9996-Mar-12 1:28 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Abhinav S6-Mar-12 2:18
Abhinav S6-Mar-12 2:18 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Mycroft Holmes6-Mar-12 11:57
professionalMycroft Holmes6-Mar-12 11:57 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon6-Mar-12 12:05
mvePete O'Hanlon6-Mar-12 12:05 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha9997-Mar-12 4:22
Mahesha9997-Mar-12 4:22 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon7-Mar-12 4:38
mvePete O'Hanlon7-Mar-12 4:38 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha9997-Mar-12 8:19
Mahesha9997-Mar-12 8:19 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon7-Mar-12 8:42
mvePete O'Hanlon7-Mar-12 8:42 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha99911-Mar-12 5:06
Mahesha99911-Mar-12 5:06 
QuestionLinux Hosting Pin
sayantanpaik@yahoo.com5-Mar-12 22:46
sayantanpaik@yahoo.com5-Mar-12 22:46 
AnswerRe: Linux Hosting Pin
Pete O'Hanlon5-Mar-12 22:53
mvePete O'Hanlon5-Mar-12 22:53 
GeneralRe: Linux Hosting Pin
Mycroft Holmes6-Mar-12 0:10
professionalMycroft Holmes6-Mar-12 0:10 
GeneralRe: Linux Hosting Pin
Pete O'Hanlon6-Mar-12 0:43
mvePete O'Hanlon6-Mar-12 0:43 
QuestionDrag-and-Drop out of Silverlight 5 application Pin
roni-in4-Mar-12 21:50
roni-in4-Mar-12 21:50 
AnswerRe: Drag-and-Drop out of Silverlight 5 application Pin
Abhinav S4-Mar-12 22:04
Abhinav S4-Mar-12 22:04 
GeneralRe: Drag-and-Drop out of Silverlight 5 application Pin
roni-in4-Mar-12 22:14
roni-in4-Mar-12 22:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.