Skip to main content

All Questions

Tagged with
8 votes
2 answers
685 views

C# public members visibility of a class with no namespace

I have a project that I publish as MyNuget package in a local feed. The project references a ThirdPartyNuget that has ThirdPartyExtensions public static class with public extension methods over ...
UserControl's user avatar
  • 15.1k
3 votes
1 answer
115 views

Is the documentation wrong for Graphics.IsVisible(Rectangle rect)?

Microsoft's online documentation says that this Graphics method returns "true if the rectangle specified by the rect parameter is contained within the visible clip region of this Graphics; ...
Spooner's user avatar
  • 31
0 votes
1 answer
3k views

How to set the visibility of calendar of datepicker to hidden wpf

I am under a situation where i need to develop DatePicker where the calendar must disappear on mouse leave event, only textbox with the selected date from calendar must be visible and calendar part ...
stuck stuck's user avatar
0 votes
1 answer
17 views

Limit which attributes are available based on referencing assembly

I'm probably not phrasing this question properly, but hopefully I can get the intention across. I have an application with three projects. Project 1 is the web-facing part of the application. Project ...
Kiran Ramaswamy's user avatar
0 votes
1 answer
542 views

Update WPF from .NET 4 to 4.5.2, DataGridTextColumn Visibility DataContext reference broken

I've upgraded a WPF project to .NET 4.5.2. In a xaml file, I have the following line. <UserControl x:Class="Casa.Project.Client.Views.Projects.ProjectSearch" xmlns="http://schemas....
CamHart's user avatar
  • 4,145
3 votes
1 answer
1k views

WPF Grid Elements not resizing when another one is set to collapsed

I am using a Grid to balance 3 parts. The first two shall take up each 50% of the remaining space, the last two shall stay the same height at the bottom, as it is a bar with buttons. I use a ...
Crumar's user avatar
  • 132
0 votes
2 answers
49 views

Restricting Access to a Method or Rewriting that Method for a Specific Object

(In a C# program) I have a List<Author> authors, where Author is a class I wrote. Lists have a default Add(Object o) method, but I need to make it either less accessible or overwrite it for ...
jmindel's user avatar
  • 545
2 votes
0 answers
67 views

Make a extension method appear in the 'Common' suggestion list instead of 'All' list?

I'm not sure whether the programmer can take precedence over Intellisense in this way. Exists a method attribute (or a different solution) to let IntelliSense display a custom extension method in ...
ElektroStudios's user avatar
-2 votes
3 answers
136 views

Access UI form controls from another class into your main form in C#

How can I use my UI form controls from another class? I want to work with these controls in another class, then call it into my main form. The problem is that the new class I created can't seem to ...
taji01's user avatar
  • 2,615
1 vote
1 answer
105 views

How discretely defined visibility of my assemblies types?

I'm using the .NET 4.5.2 and need access from assembly B a ClassA defined in assembly A, but want declare ClassA as internal to avoid access from other assemblies to it. I don't want use ...
user avatar
0 votes
2 answers
253 views

Should static variable in be visible in a separate project?

If a Visual Studio 2010 solution contains two C# projects where the second projects references the first project: If a public static variable is declared in a class in the first project, should it be ...
CJ7's user avatar
  • 23.1k
1 vote
1 answer
166 views

Is Selected Visibility of Element in DataTemplate

This DataTemplate is use in a ListBox Would like fieldTemplateDetail to only be visible when the ListBoxItem IsSelected Visibility="{Binding Path=IsSelected, Converter=bvc}" Above is NOT ...
paparazzo's user avatar
  • 44.9k
4 votes
4 answers
10k views

C# Window Visibility, collapsed and hidden

I have a quick question regarding visibility of windows in an application. According to... http://msdn.microsoft.com/en-us/library/system.windows.visibility.aspx (its short) When a window is ...
Ben Cheng's user avatar
  • 101
0 votes
0 answers
72 views

Displaying Text Link VB.Net 2003

I'm using window base application (.NET Framework 1.1) I have a problem on displaying Text Link on form. Sometimes the text link doesn't appear after Form Load. I'm sure that the text link visibility ...
Bryan's user avatar
  • 1,243
0 votes
1 answer
58 views

Winform handling

I have 3 forms. We can enter to form2 through form1.(Then form1 will disappear.) When we close form2, form1 will reappear. Similarly we can enter to form3 through form2.(Then form2 will disappear.) ...
jubairusman's user avatar

15 30 50 per page