Created
January 25, 2021 10:33
-
-
Save fdundjer/99ed950ce85151a8c2fd4ccad93eea5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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