Document bitmap transparency and public API

Explain image behavior for each credential tile version, package the README and XML documentation, and complete the public API comments.
This commit is contained in:
Ryan Newington
2026-08-30 08:10:32 +10:00
parent 8b12b4d078
commit b0d6ccc702
37 changed files with 350 additions and 81 deletions
@@ -101,6 +101,7 @@ namespace Lithnet.CredentialProvider.Samples
private static Bitmap CreateTransparentUserTile()
{
// CredentialTile3 preserves the alpha channel in this image. CredentialTile and CredentialTile2 render it against the control's BackgroundColor.
Bitmap image = new Bitmap(128, 128, PixelFormat.Format32bppArgb);
using (Graphics graphics = Graphics.FromImage(image))
@@ -5,6 +5,9 @@ using Microsoft.Extensions.Logging;
namespace Lithnet.CredentialProvider.Samples
{
/// <summary>
/// Demonstrates a version 3 credential tile that preserves image transparency.
/// </summary>
public class TestCredentialProviderTile : CredentialTile3
{
private TextboxControl UsernameControl;