The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Using the HTMLUIControl.GetElementAtClientPoint() method I acquire a reference to a IHTMLElement. If I want to change the formatting or presentation of that element, how would I achieve that? The IHTMLElement.Format property is read only and there does not appear to be an applicable method to alter it. In the same vein, how would I alter its Visible status? Thanks for the help,
Adam
DJDavis Jebaraj Syncfusion Team January 13, 2005 03:37 AM
Hi Adam,
You can access the elements as BaseElement and set its IsVisible property to be false to change the element''s visiblity.
The style for a element can also be changed through the Attributes["class"].Value property.
Please refer to the sample linked to below:
F23420HTMLUIElementCSS_8850.zip
Regards,
Davis
AFAdam FlynnJanuary 26, 2005 01:18 PM
I was hoping to create a custom collection of HTMLFormat objects, representing specific CSS formats, and apply them to individual IHTMLElements.
Can you explain if there is a way to programmatically create (i.e. not read the styles from a file) an object that contains a specific css style and then apply it to one or more IHTMLElements?
Thanks.
DJDavis Jebaraj Syncfusion Team February 1, 2005 08:25 AM
Hi Adam,
There is currently no way to assign HTMLFormat objects directly to HTMLElements. I have requested a feature request for this and I will update you as soon as the feature has been implemented.
Thank you for your patience.
Regards,
Davis