|
In response to how it took me six years to find this forum, maybe if you took time to look at my profile you will find out that I have been a member for 2 years 7 months and I started using the website and the postings way before then.
I had a lot of respect for people who offer helps and I also do when I can , even though I do not usually post on websites.
Sir if you care to know, I am more than qualified both academically and otherwise (experience and connections)to be doing what I am doing. It just happens that things change very fast in software development and you cant know everything and to get a contract you have to claim to know everything because you know they are just variants of each other or superset of what you know. However, the negative replies I got are really not justified in any way.
Whichever way, one of my friends helped me and I dont like to be abusive to anyone irrespective of what they have done but if you can look me in the eyes and tell me that you've never needed any tips, help whatever in one area of development when going for a contract then I will tell you you are lying.
im sure if I ask you to tell me about developing search engine in Endeca you wont even have a single answer. I did that for a large corporation for a number of years if you care to know.
Next time please do not be prejudicial to people. Ask straight questions and they might be able to tell you where they are coming from .
Thanks
|
|
|
|
|
This is pointless...he obviously sees nothing wrong in asking someone to coach him through an interview.
If you want to know how to land a contract when you don't have explicit experience with a technology the client wants? Tell them the truth and convince them that you'll be able to be proficient on your own dime. And if you don't get it, it wasn't meant to be. If you're as skilled and have as many connections as you claim to have, this should just be one of dozens of opportunities you're looking into.
Like I said, unscrupulous people like you who lie and cheat their way into a contract (yes pretending that you've had experience with WCF when you haven't is lying and cheating) are why it's so difficult for the truly qualified and talented individuals to get a position they deserve.
|
|
|
|
|
I don't claim to be a WPF expert.
I have the following XAML:
<StackPanel Grid.Column="1" Height="Auto" Width="Auto">
<Grid Margin="0,10,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="540" />
<RowDefinition/>
</Grid.RowDefinitions>
<TabControl TabStripPlacement="Top" Margin="0,0,0,10" Height="Auto" Width="Auto" MaxHeight="600" Grid.Row="0">
<TabItem Name="Tab1" Header="Empty Tab">
<src:Designer Height="Auto" MinHeight="500" x:Name="EmptyDesigner"/>
</TabItem>
<TabItem Name="NewTab" Header="..."/>
</TabControl>
<GridSplitter Width="Auto" Height="8" Focusable="True" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Background="Azure" />
<TabControl TabStripPlacement="Top" Margin="0,0,0,10" Height="Auto" Width="Auto" MinHeight="140" MaxHeight="600" Grid.Row="1">
<TabItem Name="TabOut" Header="Output">
<TextBlock Name="TBOutput" Background="Black" Foreground="Gold" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabObjectDump" Header="Object Dump">
<TextBlock Name="TBObjectDump" Background="Black" Foreground="Blue" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabObjectTrace" Header="Object Trace">
<TextBlock Name="TBObjectTrace" Background="Black" Foreground="Red" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabPipelineTrace" Header="Pipeline Trace">
<TextBlock Name="TBPipelineTrace" Background="Black" Foreground="GreenYellow" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabEventTrace" Header="Event Trace">
<TextBlock Name="TBEventTrace" Background="Black" Foreground="LightGray" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabCode" Header="Code">
<TextBlock Name="TBCode" Background="Black" Foreground="Green" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabXAML" Header="XAML">
<TextBlock Name="TBXAML" Background="Black" Foreground="White" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabDSL" Header="DSL">
<TextBlock Name="TBDSL" Background="Gray" Foreground="Black" Padding="2,2,2,2"></TextBlock>
</TabItem>
</TabControl>
</Grid>
</StackPanel>
The problem is that the TabControl located in Grid.Row="1" does not automatically resize to fill the bottom of the split. WPF layouts are a little confusing comming from WinForms.
~TheArch
|
|
|
|
|
The outer StackPanel is the problem. Get rid of that and your layout will work.
May want to also loose the MaxHeight="600" on the TabControl.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Thanks, that did the job! The grid was contained in another grid so I had to add Grid.Column="1" to get to show up in the right place.
~TheArch
|
|
|
|
|
Cool. Have a great time with WPF!
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi there,
I want to start silverlight.Where I can find it. Please suggest a link for me so that I can download the same.Codeproject is only one site that I can access...
|
|
|
|
|
|
|
If CodeProject is the only site you can access you're not going to be able to download Silverlight.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Go to the Silverlight Site[^] and click on Get Started[^].
creend wrote: Codeproject is only one site that I can access...
??? Good luck.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am developing WPF custom controls. I want to know the name of the evnt which gets fired when the user deletes the custom control from the cider. I found "public event RoutedEventHandler Unloaded" event of some help, but it gets fired when both control is deleted from cider & the xaml page is unloaded. I am seraching for an event (event name)which gets fired only when a control is deleted from cider.
Thanks,
Vinod
modified on Thursday, July 2, 2009 11:41 AM
|
|
|
|
|
You can check if the control is in design mode and then run your code.
DesignerProperties.GetIsInDesignMode(new DependencyObject())
Search the web for" is in design mode" Very easy to use.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
I want to know which event gets fired when the control is deleted from window in Cider.
How does IsInDesignMode will be helpful in that ?
|
|
|
|
|
Vinod C S wrote: How does IsInDesignMode will be helpful in that ?
It's not.
I'll do some checking and see if I can find the information you need.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Vinod,
Trying to figure out "why" you need your control to be notified when being removed from Cider. Is there some clean up you need? If so, IDisposable may work for you.
Let me know.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
Thanks for ur reply.
I checked by implementing IDispose, but I didn't get notification in dispose();.
I found another way of doing this task, its by providing a PrimarySelectionTaskProviderfor the Window class:
internal class FSFWindowTaskProvider : PrimarySelectionTaskProvider {
public FSFWindowTaskProvider() {
}
protected override void Activate(ModelItem item) {
ModelService service = Context.Services.GetService(typeof(ModelService)) as ModelService;
service.ModelChanged += new EventHandler<ModelChangedEventArgs>(service_ModelChanged);
base.Activate(item);
}
private void service_ModelChanged(object sender, ModelChangedEventArgs e) {
IEnumerable<Microsoft.Windows.Design.Model.ModelItem> enumerator = e.ItemsRemoved;
foreach (ModelItem mi in enumerator) {
MessageBox.Show(mi.Properties["Name"].ComputedValue.ToString() + "deleted");
string cntrlName = mi.Properties["Name"].ComputedValue.ToString();
if (string.IsNullOrEmpty(cntrlName)) {
continue;
}
}
}
}
internal class Metadata : IRegisterMetadata {
....
builder.AddCustomAttributes(typeof(myWindow),
new FeatureAttribute(typeof(FSFWindowTaskProvider)));
}
In service_ModelChanged, we will get the notification for control deletion.
|
|
|
|
|
Very glad you got this sorted out.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Vinod,
I got this from my team. Please verify you are doing this:
Make sure your customer also overrides Deactivate and removes the event handler he’s added. A new task provider will be created and activated each time his control gets selected.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Here is another block of code I was sent by a team member.
Something slightly tighter is – I don’t know if they’re writing against the old or new Model, hopefully this should work on both.
private void service_ModelChanged(object sender, ModelChangedEventArgs e) {
foreach (ModelItem mi in = e.ItemsRemoved) {
if (typeof(MyControl).IsAssignableFrom(mi.ItemType)) {
}
}
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
thanks for the reply. but I can not check for a particular type of control. there
are any custom controls. I have one doubt , can I track the Ctrl + X event here. I mean
I want to know whether ther the user has pressed Ctrl-X or Delete button. In
e.ItemsRemoved I get the control in both the cases.
thanks,
vinod
|
|
|
|
|
Hello,
I am just a begginer in WPF. My query is written below . please give a solution.
I have two classes named "Student" and "Employee" both derived from a base class named "Person". I want seperate data templates for student and employee. ie. for student i wish to display only name with a text box and for emplyee i want two text boxed with name and salary. I will populate a list by setting the item source as Person objects. now when i click on the list the template corresponding to the class that is "Student" or "Employee" should be displayed in the screen. how can i do this.?
Thanks
Jithesh
|
|
|
|
|
Enjoy[^].
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
hi friend i am newbie in WPF i want to use expander control so that i have two toogle button in expander control if First one click then it should expand Down and if the second one click then it should expand right side.
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
|
|
|
|
|
You'll need to retemplate the Expander control, add a second expander button to execute the required code.
Retemplating is not hard once you understand WPF. There are plenty of examples here on Code Project for retemplating controls.
modified 27-Feb-21 21:01pm.
|
|
|
|