New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for footers to ListViewGroup #2653
Comments
The team had some preliminary discussions about enhancing the control.
|
Probably both will just work by itself if the new properties are annotated correctly with metadata attributes. Since there is precedence with existing If VS feels the need to do anything special about the existing properties it would have to do the same for the new properties (ideally it shouldn't need to but you never know if VS designer puts an override onto a TypeDescriptor to implement some workaround or customized experience, like it does for example on Image properties where it overrides the default TypeDescriptor to provide a different selection dialog than someone would get outside VS, you can only know if you have access to the VS designer source). |
In terms of accessibility, see #1726 |
namespace System.Windows.Forms
{
public partial class ListViewGroup
{
public string Footer { get; set; }
public HorizontalAlignment FooterAlignment { get; set; }
}
} |
LVGF_FOOTER
flag onmask
and setpszFooter
to a valid string andcchFooter
to the length of the stringLVGF_ALIGN
flag onmask
and set theuAlign
to a validLVGA_FOOTER_CENTER
valueProposed API
This would add the following APIs to
ListViewGroup
:Example
The text was updated successfully, but these errors were encountered: