I had an exam yesterday for Programming I at the end of my first semester. It was pretty basic, except I made a really, really obscure mistake that I wanted to ask the more experienced people here about:
I basically had a class Library that contained a vector that contains elements of Loan* which contains a Customer and Book class. Kind...
I have to set the style for a TextView. Which is created by Pro grammatically. I have to implement this attribute style="@style/test" by programmatically. How to do it?I Checked this link. But i did not get any answer. Any Idea?
...
I want to make 2 different styles for the ToolBar control: One is based on black buttons and one on silver buttons. But I can't figure out how to apply my button styles to its own toolbar styles. The following only allows one style for the buttons:
<Style x:Key="{x:Static ToolBar.ButtonStyleKey}"
BasedOn="{StaticResource Black...
I need help trying to style the asp.net chart control. I have a doughnut chart that I need to style:
The background of the doughnut to be transparent so the underlying gradient shows through.
I'd like to move the legend to the bottom below the chart ... that way I can make a tall/thin chart
This is what it currently looks like. And I...
How can I change my textarea background image when I select a value from the select menu?
<html>
<head>
<title> Your Title </title>
<script>
function kool()
{
`enter code here`abc.style.background="img1.bmp"
}
</script>
</head>
<body>
<textarea name="abc">
1) Make paper airplanes out of the exam. Aim them at the instructor's left no...
This is a nice-to-have for our designer. She has a layout where a form title, on the top right of the form banner, is two words in English. There are several forms so the words are a little different each time. So the effect is something like:
| firstword|
| form|
There is a fancy swoopy thing underneath this and some other...
The fields in my form have a label, some help text, some example text, and some contextual text.
<!--With Help and Example-->
<li>
<label for="ingredients">Ingredients</label>
<br/><!--Is this good practice?-->
<span class="help">Enter one ingredient per line.</span>
<br/>
<textarea id="ingredients" name="ingredients...
for my web application, i would like the main div to be full screen (both width and height = 100%), and regardless of content, i want it to stay at that size. that means, if there are not much content, it shouldn't shrink, and if there are too much content, it shouldn't push this main div.
how can i do this?
(i'm ok with hacks applied ...
Hi I have a scenario where I need to change the image of the button in Radinput control based on some criteria.
I have the following styles defined
.MyButton
{
background:url('Error.png') 0 0 no-repeat !important;
}
.MyButton_1
{
background:url('SupportsNotes.png') 0 0 no-repeat !important;
background-color:Re...
Does anyone know why this would produce an XamlParseException "Cannot add content of type 'System.Windows.Controls.ContextMenu' to an object of type 'System.Object'":
<ItemsControl>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<Canvas ClipToBounds="True"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsP...
Maybe someone somewhere is written a Ajax wrapper to handle google spreadsheet's api? I've managed to take their form's html and style it to fit my website's theme, but the success page always loads with the standard blocky feel of google.
Any ideas?
...
Ok so im starting to get stuck into my design and get the style right.
My Theme is using a kryptonForm style GUI but kyryptonForms do not not have a pre designed ListView, so im having to build this myself
My Application is a messenger system based on XMPP/Jabber so you can guess how i would like my contact list to be designed.
i have...
...any support for EDITORS?
Or do I have to open the solution in Blend for being able to do some editing in a design surface?
;)
...
Hi!
I have a assembly with template control. I want write a program, that will get a copy of control implict style, like that do the Expression Bland (Edit Template/Edit a Copy...). In out i want get XAML (ResourceDictionary with copy of style).
How I can do that?
...
The page inside iframe is loaded dynamically by javascript.
I use jQuery, so I tried like this.
var css2 = '<link rel="stylesheet" href="/inc/css/style.css" type="text/css"/>';
$("iframe").contents().find("head").append(css2);
This works fine with firefox, but not with IE.
Then I created dom and append it to the head tag manually wi...
I have a problem in wpf toolkit datagrid.
I have a Itemsource whit three columns:
FirstName
LastName
Address
in C# Codebehind i set the sort direction and wich column to sort on like this:
ICollectionView view = CollectionViewSource.GetDefaultView(dataGrid1.ItemsSource);
view.SortDescriptions.Clear();
view.SortDescriptions.Add(new S...
I have a LineSeries that I am trying to build from the code rather than the XAML.
I am using a LineSeries, but I want to remove the markers, and just have the line. To do this, I've changed the style so that the hight and width are zero:
//modify series style
var lineStyle = new Style(typeof(DataPoint),bChart.Style);
lineStyle.Sette...
Hi
I want to create a flat button with rounded right top and bottom corners. This button needs to have the background changed on clicked and on mouse over.
Currently my Markup looks like this:
<Border x:Name="MyButton" Height="25" Margin="0,5,0,0" CornerRadius="0 5 5 0" BorderThickness="1" BorderBrush="Gray" Style="{StaticResource...
Hi,
I have an image that i want to make it when the user hover with mouse over it, another image next to it will be displayed.
The code below, doesn't work:
<Image Source="volumen.png">
<Image.Style>
<Style>
<Style.Triggers>
<Trigger Pro...
I want to launch an Activity with a webView as its content from current Activity. This new activity needs to be transparent and webview should be in the center. I looked around the web but only solutions I found were using style xmls. I want to do it using pure code i.e. no xml declarations. if anybody has come across this then please sh...