Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ForeverListBox.cs #193

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
}
}

public object[] ListItems
{
get
{
return ListBx.Items.Cast<object>().OfType<object>().ToArray();

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src/ReaLTaiizor.sln)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Build (GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 57 in src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp, GitHub, src)

'ListBox.ObjectCollection' does not contain a definition for 'Cast' and no accessible extension method 'Cast' accepting a first argument of type 'ListBox.ObjectCollection' could be found (are you missing a using directive or an assembly reference?)
}
}
public object ListSelectedItem => ListBx.Items[SelectedIndex];

[Category("Colors")]
public Color SelectedColor { get; set; } = ForeverLibrary.ForeverColor;

Expand Down
Loading