Click here to Skip to main content
15,892,059 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to make my WPF based app remain on top Pin
vonb29-Jul-13 21:14
vonb29-Jul-13 21:14 
AnswerRe: How to make my WPF based app remain on top Pin
Mycroft Holmes29-Jul-13 21:36
professionalMycroft Holmes29-Jul-13 21:36 
GeneralRe: How to make my WPF based app remain on top Pin
vonb29-Jul-13 21:41
vonb29-Jul-13 21:41 
GeneralRe: How to make my WPF based app remain on top Pin
Richard MacCutchan29-Jul-13 22:19
mveRichard MacCutchan29-Jul-13 22:19 
GeneralRe: How to make my WPF based app remain on top Pin
vonb29-Jul-13 22:40
vonb29-Jul-13 22:40 
Questionhow to add xaml pages in aspx pages Pin
Member 793334329-Jul-13 1:43
Member 793334329-Jul-13 1:43 
AnswerRe: how to add xaml pages in aspx pages Pin
Jason Gleim27-Aug-13 6:00
professionalJason Gleim27-Aug-13 6:00 
Questionwpf databound datagrid - how to prevent duplications Pin
Member 938944424-Jul-13 5:33
Member 938944424-Jul-13 5:33 
Using WPF, I have a datagrid, databound to a observable collection/collectionviewsource.

Say my grid has only 1 column ("NAME").
How can I make sure I only populate the grid with NO duplications.

I've looked at multivalue converters... validationRules.

Either way, I don't know how to display values with no duplications.

Any assistance would be GREATLY appreciated.
Thanks

XML
<DataGrid.Columns>
    <DataGridTextColumn Header="Market">
        <DataGridTextColumn.Binding>
            <MultiBinding Converter="{StaticResource ResourceKey=myConverter}">
                <Binding Path="tMarketName" UpdateSourceTrigger="PropertyChanged">
                    <Binding.ValidationRules>
                        <local:UniqueNameValidation CurrentCollection="{StaticResource ResourceKey=ViewSource}"/>
                    </Binding.ValidationRules>
                </Binding>
                <Binding RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type DataGrid}, AncestorLevel=1}"/>
                <Binding Path="."/>
                <Binding Source="{StaticResource ResourceKey=MyData}"/>
            </MultiBinding>
        </DataGridTextColumn.Binding>
    </DataGridTextColumn>

AnswerRe: wpf databound datagrid - how to prevent duplications Pin
Mycroft Holmes24-Jul-13 12:38
professionalMycroft Holmes24-Jul-13 12:38 
GeneralRe: wpf databound datagrid - how to prevent duplications Pin
Member 938944425-Jul-13 2:10
Member 938944425-Jul-13 2:10 
Questionhow to increase row height in datagrid Pin
thecco21-Jul-13 21:17
thecco21-Jul-13 21:17 
AnswerRe: how to increase row height in datagrid Pin
Kenneth Haugland22-Jul-13 22:43
mvaKenneth Haugland22-Jul-13 22:43 
GeneralRe: how to increase row height in datagrid Pin
thecco22-Jul-13 23:01
thecco22-Jul-13 23:01 
AnswerRe: how to increase row height in datagrid Pin
Mycroft Holmes22-Jul-13 23:00
professionalMycroft Holmes22-Jul-13 23:00 
QuestionProblem with datagrid Pin
Arun kumar Gautam18-Jul-13 23:49
Arun kumar Gautam18-Jul-13 23:49 
AnswerRe: Problem with datagrid Pin
Richard MacCutchan19-Jul-13 2:34
mveRichard MacCutchan19-Jul-13 2:34 
AnswerRe: Problem with datagrid Pin
RuchiH23-Jul-13 1:13
RuchiH23-Jul-13 1:13 
QuestionRe: Problem with datagrid Pin
arif77724-Jul-13 2:09
arif77724-Jul-13 2:09 
QuestionCan we use Handler (.ashx) files in Silverlight?? Pin
Mohammed Hameed18-Jul-13 1:27
professionalMohammed Hameed18-Jul-13 1:27 
AnswerRe: Can we use Handler (.ashx) files in Silverlight?? Pin
Emmanuel Medina18-Jul-13 9:18
professionalEmmanuel Medina18-Jul-13 9:18 
GeneralRe: Can we use Handler (.ashx) files in Silverlight?? Pin
AlphaDeltaTheta18-Jul-13 16:02
AlphaDeltaTheta18-Jul-13 16:02 
GeneralRe: Can we use Handler (.ashx) files in Silverlight?? Pin
Mohammed Hameed18-Jul-13 20:03
professionalMohammed Hameed18-Jul-13 20:03 
AnswerRe: Can we use Handler (.ashx) files in Silverlight?? Pin
AlphaDeltaTheta18-Jul-13 16:06
AlphaDeltaTheta18-Jul-13 16:06 
GeneralRe: Can we use Handler (.ashx) files in Silverlight?? Pin
Mohammed Hameed18-Jul-13 20:08
professionalMohammed Hameed18-Jul-13 20:08 
GeneralRe: Can we use Handler (.ashx) files in Silverlight?? Pin
AlphaDeltaTheta19-Jul-13 3:39
AlphaDeltaTheta19-Jul-13 3:39 

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.