Hi,
Simple issue: I am using Accordion without any UI themes (just barebones, using my own CSS).
So far, so good, except that I cannot figure out how to set an "active" style for the currently selected header.
The jQuery code:
$("#menu").accordion({
event:"mouseover",header:"a.top"
});
The HTML code:
<a href="#" class="top">XXX1</...
What's required to create a style for a RichTextBox that includes visuals for the scrollbars and a background color for the space behind the text?
...
I have an element that I'm trying to style:
<tr runat="server" id="row" >
...
</tr>
And I set the style programmatically:
row.Attributes("style") = "background: #cccccc;"
I get this output:
<tr id="SearchResults_myRepeaterPlain_ctl04_row" style="background: rgb(204, 204, 204) none repeat scroll 0% 0%; -moz-background-clip: border;...
Greetings,
I'm using WPF with a Model-View-ViewModel pattern, and I have a view model with an IsSelected property which I want to bind to a TreeViewItem's IsSelected property for all TreeViewItems in the scope. I'm attempting to do this with a Style and a Setter. This works apparently for the root-level TreeViewItems, but not for their ...
WPFThemes is a good resource for WPF themes and styles. As of now they do not cover many controls like
Window
Popup
Datagrid
etc..
Is there any other resource to help developer in styling a WPF application?
...
Hey buddy,
I'm trying to style vscrollbar and hscrollbar inside a Vbox.But there's always a white square thing at the right bottom cornor which can not be styled.
My CSS is:
ScrollBar{
downArrowUpSkin: Embed(source="assets/images/scrollbar/arrow_down.png");
downArrowOverSkin: Embed(source="assets/images/scrollbar/arrow_down.png");
...
Hi,
I am trying to use style triggers in silverlight like so:
<Path Canvas.Top="20" Stroke="#FF808080" Data="M 0,20 20,0 40,20 Z" StrokeLineJoin="Round">
<Path.Style>
<Style TargetType="{x:Type Path}">
<Setter Property="Fill" Value="DarkGray"/>
<Style.Triggers>
...
I have a combobox bound to a ViewModel property called "Property".
"Property" is a TypeDescriptor.
When user changes value in combobox the "Property" is updated.
On the UI i would like to either hide or make visible different controls: textbox, combobox, date picker etc.
Problem is datatrigger is not working as expected.
<Style x:Ke...
I am writing a WPF control that subclasses a Button. I then provide a default style in Themes\generic.xaml, that looks like this (simplified):
<Style TargetType="{x:Type WPFControls:MyButton}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type WPFControls:MyButton}">
<Button
x:Name="PART_B...
I'm not sure the best way to ask this question (sorry for the ambiguous question title), but essentially I'd like to set the MaxLength property on a TextBox using a value converter that is passed in a property from the data context, and the property on the passed-in property as the converter parameter. I'd like to do all this in a style,...
I am currently wondering what is the difference between the two. When I used both they seem to break the word if it is not fitting the container. But why did W3C made two ways to do it?
...
I am having a Grid in WPF application.
I want to display all the text block on the first column in the grid to be aligned to the right.
so I thought I could do it with ColumnDefinition and Style like this:
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition>
<ColumnDefinition.Resources>
<Style Targe...
What is the default SVG style ? for example, what is the default font of a new SVG document ? Is it described in the SVG spec ?
<svg><text x="10" y="10">Hello</text></svg>
Thanks
...
Hi,
I have an application that works similar to a chat, except beside the location where they submit their message they also have a dropdown that selects the type of message it is.
When someone sends a message the message appears in a listbox (can also be a listview or a multiline textbox if that would work easier for what I want to do...
A HTML file is generated by a PHP file. Generally speaking, what a user can see from a HTML file can be divided into two parts, one part is static; another part is dynamic, this part is represented by variables in the PHP file.
For example:
$html=<<<eod
$title<br/>
Total Price:$row[column1]
Quota:$row[column2]
<pre>$row[column3]</pre>...
Is it possible to hide controls at the bottom like zoom slider, page navigation etc in FlowDocumentReader? It seems that only search can be hidden through the IsFindEnabled property.
...
I'm a PHP web developer, who is looking for a well proven method for writing a good documentation (aka docblock).
There are several documentation styles, for instance:
The descriptive but not categorized (#1):
/**
* Element name: class, function, variable etc. (Optional)
*
* Short description.
*
* Long description.
*/
...
Hi,
I am trying to use image as a background of my application, I have not success :(
Here is the code which shows how I do it:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" borderColor="#ECEEEF" color="#000000" cornerRadius="5"
creationComplete="main()" xmlns:MyComp="components....
I rolled my own tab control with left and right buttons that, when clicked, scroll the entire tab control one way or the other.
I have functionality that I can't exactly do in XAML, so I need access to these buttons in coded-behind.
They are in my Tabcontrol's style, and if I assign names or x:names to them, I still can't access them i...
Hello all,
I am using a text view as a comment composer .
In the properties inspector I can't find anything like border style property so that I can make it to rounded rect something like uitextfield.
so the question is :
How to style uitextview like uitextfield rounded rect ?
...