Skip to content

Instantly share code, notes, and snippets.

@fdundjer
Created January 25, 2021 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fdundjer/99ed950ce85151a8c2fd4ccad93eea5c to your computer and use it in GitHub Desktop.
Save fdundjer/99ed950ce85151a8c2fd4ccad93eea5c to your computer and use it in GitHub Desktop.
using System;
using System.ComponentModel;
using UIKit;
namespace HTEC.TargetBinding.iOS.Controls
{
[DesignTimeVisible(true)]
[Category("Custom Controls")]
public partial class CustomUIImageView : UIImageView
{
public CustomUIImageView(IntPtr handle)
: base(handle)
{
}
public event EventHandler TintColorChanged;
public override UIColor TintColor
{
get => base.TintColor;
set
{
base.TintColor = value;
TintColorChanged?.Invoke(this, EventArgs.Empty);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment