K
K
kolenchits862015-11-28 18:20:47
.NET
kolenchits86, 2015-11-28 18:20:47

Element disappears when you add a style to it?

I want to add a context menu to an element, it should support it, but for some reason, when adding it, it simply disappears from the view completely

<Style TargetType="telerik:EventContainer">
            <Setter Property="Background" Value="Green"></Setter>
            <Setter Property="telerik:RadContextMenu.ContextMenu">
                <Setter.Value>
                    <telerik:RadContextMenu>
                        
                    </telerik:RadContextMenu>
                </Setter.Value>
            </Setter>
        </Style>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ai Lab, 2015-11-29
@vpuhoff

check the tags first so that everything is opened and closed as expected

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question