
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
wpftextboxautocompletederivative
Advanced tools
Extends the WPF TextBox
control with auto-completion suggestions.
This is based on Nimgoble's WPFTextBoxAutoComplete, and is designed for .NET Core 6
Install the package via NuGet
PM> Install-Package WPFTextBoxAutoCompleteDerivative
Add a reference to the library in the .xaml
file you want to use it in.
xmlns:behaviors="clr-namespace:WPFTextBoxAutoComplete;assembly=WPFTextBoxAutoCompleteDerivative"
Create a textbox and bind the ItemsSource property to any type that implements IEnumerable<String>
.
<TextBox
Width="250"
HorizontalAlignment="Center"
Text="{Binding TestText, UpdateSourceTrigger=PropertyChanged}"
behaviors:AutoComplete.ItemsSource="{Binding TestItems}"
/>
Property | Type | Default | Description |
---|---|---|---|
ItemsSource | IEnumerable<string> | null | Sets the source for auto completion suggestions. |
StringComparisonMode | StringComparison | OrdinalIgnoreCase | Changes the string comparison type used when matching user input to possible suggestions. |
Prefix | char? | null | When set to a non-null character, that character must be entered by the user for suggestions to appear. |
CommitKey | Key | Enter | This changes which key the user should press to select a suggestion. |
Case-Sensitive Matching
```csharp
<TextBox
Width="250"
HorizontalAlignment="Center"
Text="{Binding TestText, UpdateSourceTrigger=PropertyChanged}"
behaviors:AutoComplete.ItemsSource="{StaticResource TestData}"
behaviors:AutoComplete.StringComparisonMode="Ordinal"
/>
```
Requires '@' prefix to show suggestions.
``` csharp
<TextBox
Width="250"
HorizontalAlignment="Center"
Text="{Binding TestText, UpdateSourceTrigger=PropertyChanged}"
behaviors:AutoComplete.ItemsSource="{Binding TestItems}"
behaviors:AutoComplete.Prefix="@"
/>
```
FAQs
Unknown package
We found that wpftextboxautocompletederivative demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.