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

WPF

 
QuestionGridView click to load data Pin
maxRazar27-Jun-13 22:00
maxRazar27-Jun-13 22:00 
Questionhow to get audiometer level in mediaelement Pin
brodcasting27-Jun-13 19:13
brodcasting27-Jun-13 19:13 
QuestionRe: how to get audiometer level in mediaelement Pin
Kenneth Haugland5-Jul-13 14:06
mvaKenneth Haugland5-Jul-13 14:06 
Questiondatagrid columns, ExpandoObject question Pin
BoydMills27-Jun-13 9:07
BoydMills27-Jun-13 9:07 
QuestionWpf doesnt recognize my xmlns for User Control Pin
tomr126-Jun-13 11:31
tomr126-Jun-13 11:31 
AnswerRe: Wpf doesnt recognize my xmlns for User Control Pin
tomr126-Jun-13 17:48
tomr126-Jun-13 17:48 
AnswerRe: Wpf doesnt recognize my xmlns for User Control Pin
Abhinav S26-Jun-13 18:31
Abhinav S26-Jun-13 18:31 
GeneralRe: Wpf doesnt recognize my xmlns for User Control Pin
tomr127-Jun-13 8:20
tomr127-Jun-13 8:20 
Thanks Abhinav S. I have a kind of related question about how to get access to the MainWindow resources from the UserControl. I have the MainWindow code:

HTML
<Window 
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ParametricModeler"
...>

<Window.Resources>
...
</Window.Resources>

</Window>

Then in the UserControl I do not know how to access those resources. For instance I have a Gradient Brush that I am trying to apply to the control but its key is not recognized:

HTML
<UserControl x:Class="Calculator"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...>
<Grid x:Name="CalculatorControl">
    
<Rectangle Fill="{StaticResource ButtonBrush}" RadiusX="10" RadiusY="10"/>
...
</Grid>
</UserControl>


The error reads, "The resource "ButtonBrush" could not be resolved".
GeneralRe: Wpf doesnt recognize my xmlns for User Control Pin
Meshack Musundi3-Jul-13 1:02
professionalMeshack Musundi3-Jul-13 1:02 
Questionwindowmediasdk for silverlight Pin
brodcasting26-Jun-13 0:24
brodcasting26-Jun-13 0:24 
QuestionDraging Grids in WPF Pin
tomr125-Jun-13 16:06
tomr125-Jun-13 16:06 
AnswerRe: Draging Grids in WPF Pin
sorawit amorn27-Jun-13 11:25
sorawit amorn27-Jun-13 11:25 
GeneralRe: Draging Grids in WPF Pin
tomr11-Jul-13 15:44
tomr11-Jul-13 15:44 
GeneralRe: Draging Grids in WPF Pin
sorawit amorn3-Jul-13 5:32
sorawit amorn3-Jul-13 5:32 
AnswerRe: Draging Grids in WPF Pin
sorawit amorn3-Jul-13 5:33
sorawit amorn3-Jul-13 5:33 
Question[SOLVED] WPF Combobox background color Pin
Saksida Bojan22-Jun-13 7:31
Saksida Bojan22-Jun-13 7:31 
AnswerRe: WPF Combobox background color Pin
Mycroft Holmes22-Jun-13 13:43
professionalMycroft Holmes22-Jun-13 13:43 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 20:43
Saksida Bojan22-Jun-13 20:43 
GeneralRe: WPF Combobox background color Pin
Mycroft Holmes22-Jun-13 21:48
professionalMycroft Holmes22-Jun-13 21:48 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 23:09
Saksida Bojan22-Jun-13 23:09 
AnswerRe: WPF Combobox background color Pin
Abhinav S22-Jun-13 18:36
Abhinav S22-Jun-13 18:36 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 20:46
Saksida Bojan22-Jun-13 20:46 
GeneralRe: WPF Combobox background color Pin
Abhinav S23-Jun-13 17:29
Abhinav S23-Jun-13 17:29 
QuestionCan attached behaviors have knowledge of ViewModels? Pin
sthotakura21-Jun-13 6:29
sthotakura21-Jun-13 6:29 
AnswerRe: Can attached behaviors have knowledge of ViewModels? Pin
Abhinav S22-Jun-13 18:32
Abhinav S22-Jun-13 18:32 

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.